in reply to Re^4: standard perl module and BEGIN block.
in thread standard perl module and BEGIN block.
I'm just curious here, but your looking for something that would look like...
package Some::Package; use vars qw/test/; sub inHere { our $test; }
If so I think that would be far more intuitive than the current setup. After a year of perl I still have no concept of our.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: standard perl module and BEGIN block.
by BrowserUk (Patriarch) on Aug 17, 2004 at 10:55 UTC |