We don't bite newbies here... much | |
PerlMonks |
Re: Attempt to free unreferenced scalarby jweed (Chaplain) |
on Feb 22, 2004 at 06:19 UTC ( [id://330895]=note: print w/replies, xml ) | Need Help?? |
Well, the only problem I can see is your last line. Return is for subroutines, for modules you need only an expression that evaluates to one. Usually, we use just the number one. By itself.
Once I deleted the return it worked fine on my machine. Update: seems I was wrong. see Mr. Muskrat's reply, below.
In Section
Seekers of Perl Wisdom
|
|