![]() |
|
We don't bite newbies here... much | |
PerlMonks |
lexical variables and signal handlersby !unlike (Beadle) |
on May 27, 2003 at 14:40 UTC ( #261000=perlquestion: print w/replies, xml ) | Need Help?? |
!unlike has asked for the wisdom of the Perl Monks concerning the following question: Hi All, For those who need a code example please view the following as a summary of the problem
Now that is an extreeme example as sigint will be called everytime. But I think it makes my point. When ran under use strict I get the following error message: Other than putting this var into global scope is there anyway I can pass the var to the signal handler? TIA !unlike I write my Perl code like how I like my sex: fast and dirty. ;)
Back to
Seekers of Perl Wisdom
|
|