in reply to How to extent the scope of local variable outside block??
Declare the variable outside the foreach loop, then you can access it it outside the loop.
In Section
Seekers of Perl Wisdom
in reply to How to extent the scope of local variable outside block??
Declare the variable outside the foreach loop, then you can access it it outside the loop.