>I can do this using "our" in place of "my" - after perl 5.6.


hello,even you use 'my' instead of 'our',there is not any problem.
where in some a subroutine, you use lexical var which is defined outside of 
this subroutine,you have made a closure.this var in subroutine is a private 
copy of lexical var,while it seems like a global var.so you should be careful 
to handle this case.for more informantion,see 'perldoc -f closure' please.


--
Jeff Pang
NetEase AntiSpam Team
http://corp.netease.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to