"be consistent" | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
The mod_perl Reference recommends exactly that.
While there are differences between using my and our for global variables, in my experience they don't come into play in most scripts unless they're run under something which turns all your subroutines into inner subroutine, like mod_perl. That's why I suggested using our for global variables, since it works the same in both scenarios. My understanding is the our was a right and proper way to declare package globals. Are there problems you're aware of with using our for package globals under mod_perl or anywhere else? In reply to Re^4: OUR declaration
by sgifford
|
|