El día Sunday 27 July 2003 5:43 a Steve Grazzini mandó el siguiente correo:
> Have a look at perlsub -- the sections called "Private Variables with my()"
> and "Temporary Variables with local()" are the official description of the
> difference between these two.
>
> There's also a very good article on scoping here:
>
>     http://perl.plover.com/FAQs/Namespaces.html
Thanks for the link!

Now I know when do I need to use local and my, hehe

From the website:

When to Use my and When to Use local 
        
                Always use my; never use local. 

Wasn't that easy? 

funny XD.

No, really, now I understand. 

thanks Steve!
Pablo

-- 
Pablo Fischer Sandoval ([EMAIL PROTECTED])
http://www.pablo.com.mx
http://www.debianmexico.org
GPG FingerTip: 3D49 4CB8 8951 F2CA 8131  AF7C D1B9 1FB9 6B11 810C
Firma URL: http://www.pablo.com.mx/firmagpg.txt

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

Reply via email to