It depends what package your subroutines are living in. Assuming they're living in the main:: package, you can declare package scoped variables there by using:
use vars qw($foo @bar %baz);
Take a look at arturo's tutorial on variable scoping for some more ideas./
cheers
ViceRaid
In reply to Re: Globals with Strict
by ViceRaid
in thread Globals with Strict
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |