Just another Perl shrine | |
PerlMonks |
Re^3: Problems with 'our' definition with perl 5.00503by cosmicperl (Chaplain) |
on Jun 30, 2005 at 14:37 UTC ( [id://471341]=note: print w/replies, xml ) | Need Help?? |
Ok, almost there The project is a constant work in progress, most of the our definitions could be changed to my, but will need our in the future. All 'our's that need to be global right now have a corrosponding VARS placement so that shouldn't cause any problem. I'm not using strict at this stage in this particular script. That code looks almost like what I need, but without referencing my on any our calls. The main errors I'm getting is something like this:- "our %hash;" - error illegal modulas of 0. Because our isn't defined it's treating % as a modulas. I'm sure the solution is quite simple, I just don't quite know how to do it. The host has got back to me saying the server is part of a nest and they don't want to upgrade all of them, but I'm still trying. Thanks in advance.
In Section
Seekers of Perl Wisdom
|
|