blob: 5994778536f8667b45c68211a8ac2c58c08f4a71 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
ECHO: "special variable inheritance"
ECHO: 23, 5
WARNING: Ignoring unknown variable 'a'.
ECHO: undef
ECHO: 23, 5
ECHO: "inner variables shadows parameter"
ECHO: 5, 24
ECHO: "user-defined special variables as parameter"
ECHO: 7
ECHO: 7
ECHO: "assign only visible in children's scope"
WARNING: Ignoring unknown variable 'c'.
ECHO: undef
ECHO: 5
ECHO: "undeclared variable can still be passed and used"
ECHO: 6
ECHO: "attempt to assign from a not-yet-defined variable which also exists globally"
ECHO: 5, 1
|