|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re^2: override prototypeby Random_Walk (Parson) |
| on Jan 25, 2010 at 16:54 UTC ( #819533=note: print w/ replies, xml ) | Need Help?? |
|
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,
Pereant, qui ante nos nostra dixerunt!
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||