Oops.
package foo; my $x = 3; package bar; print $x;
Cheers,
Ovid
Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.
In reply to (Ovid - my bad) Re(3): Top level
by Ovid
in thread Top level my vars and their global use in a file
by rchiav
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |