Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Closure questionby Pug (Monk) |
on Mar 02, 2004 at 17:39 UTC ( [id://333312]=perlquestion: print w/replies, xml ) | Need Help?? |
Pug has asked for the wisdom of the Perl Monks concerning the following question:
I have a question concerning Perl's closures.
The code below should, to me, completely work.
But when I call doesnt_work @r is not initilized. 8(
Which is surpising to me because perl knows that sub doesnt_work exists
so why doesn't it init @r when it is called?
-- Pug
Back to
Seekers of Perl Wisdom
|
|