Steve Howard wrote:
> 
> <yours>
> However, since the whole idea behind using local or my with variables
> is to prevent a variable name from writing over the same variable
> name elsewhere in the script, it makes even *more* sense to me to
> use local with Perl's special variables; in that they are used frequently
> throughout one's script, (with different values/purposes).
> </yours>
> 
> If that's your goal in using local variables, be very careful with 'local'.
> You probably want to use 'my' instead. Try this as an example of why:


It's not *my* goal, it's Perl's goal as *I* understand it.

And the discussion was on Perl's special variables such as $_,
with which 'my'  can't be used, but thanks anyway.

Bompa

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to