> perl $x=42; { package Inner; $x=666; } print $x; __END__ 42
Cheers Rolf
( addicted to the Perl Programming Language)
In reply to Re: Package declaration in code block
by LanX
in thread Package declaration in code block
by McA
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |