in reply to Re: override prototype
in thread override prototype
I use a prototype because nimLog uses one. I was using ($$) prototype months ago when I first redefined the sub so I got no prototype warning.
I use nimLog because modules I use from the supplier use nimLog, when debugging I can get their logging in my logfile too (though not in my STDOUT debug stream).
Thanks for the pragma to fix the warning. I was thinking it was an error because something else in my code was causing it to die prematurely, doh!
I guess now I suppressed the warning anyway I can also remove the prototype completely.
Thanks for your help,
R.
Pereant, qui ante nos nostra dixerunt!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: override prototype
by ikegami (Patriarch) on Jan 25, 2010 at 17:27 UTC | |
by Random_Walk (Prior) on Jan 26, 2010 at 08:45 UTC | |
by ikegami (Patriarch) on Jan 26, 2010 at 16:10 UTC |
In Section
Seekers of Perl Wisdom