in reply to Re: the "our" declaration ?!!
in thread the "our" declaration ?!!
# set variable, check items in PKG symbol table $ perl -Mstrict -e '$PKG::foo=1; print keys %PKG::' foo $ perl -Mstrict -e '$foo=1; print keys %main::' Global symbol "$foo" requires explicit package name at -e line 1. Execution of -e aborted due to compilation errors. $ perl -Mstrict -e 'our $foo=1; print grep {/foo/} keys %main::' foo
print+qq(\L@{[ref\&@]}@{['@'x7^'!#2/"!4']});
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: the "our" declaration ?!!
by ikegami (Patriarch) on Jan 20, 2009 at 12:35 UTC | |
|
Re^3: the "our" declaration ?!!
by rir (Vicar) on Jan 20, 2009 at 21:54 UTC |