Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: A cleaner way of scoping variables

by hmerrill (Friar)
on Aug 09, 2004 at 13:54 UTC ( [id://381226] : note . print w/replies, xml ) Need Help??


in reply to Re: A cleaner way of scoping variables
in thread A cleaner way of scoping variables

Excellent ideas!

I humbly submit that the way perl does it is correct - the original op just needs to get used to doing it the "right" way. I can't see how variable scoping in perl is incorrect in any way.

  • Comment on Re^2: A cleaner way of scoping variables

Replies are listed 'Best First'.
Re^3: A cleaner way of scoping variables
by Arunbear (Prior) on Aug 09, 2004 at 15:21 UTC
    Agreed; it was just a little brainstorming exercise.