Clear questions and runnable code
get the best and fastest answer
Variable Scopeby dave741 (Initiate)
|on Nov 10, 2017 at 16:52 UTC||Need Help??|
dave741 has asked for the
wisdom of the Perl Monks concerning the following question:
A: res is undef
B: res = Post
As $res is under lexical variable scope, shouldn't it disappear at the bottom of the block
and be recreated by the second pass, producing an identical result?
Bug? Feature? Saving CPU?
This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi