Perl Monk, Perl Meditation | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Thanks haukex - that's extremely helpful. or, in the worst case, you're not using strict. The main script has use strict; but it seems that does then apply to the module it calls...I know that now! So now I've added use strict; I get a whole bunch of Global symbol requires explicit package name errors even though they all have my or our declarations. I tracked this down to the declaration happening later in the module than methods that are throwing the error. It also highlighted another error with this: The variable $dbname is declared but in the regexp it is looking for $dbname_. I have solved this for now with: But - I feel sure there is a more elegant way! In reply to Re^2: Dereferencing in blessed object
by Bod
|
|