For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > May 2004 > My & local









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author My & local
Asit Kumar

2004-05-14, 10:30 am

Hi,

can u tell me what is diference between my & local in perl with example.

i am waiting ur favourable reply..........

With thanks & regards,
Asit

David Dorward

2004-05-14, 10:30 am


On 14 May 2004, at 13:52, Asit Kumar wrote:
>
> can u tell me what is diference between my & local in perl with
> example.


perldoc -q local my

Found in /System/Library/Perl/5.8.1/pods/perlfaq7.pod
What's the difference between dynamic and lexical (static)
scoping?
Between local() and my()?

(You might have to scroll down a bit to find it though)


--
David Dorward
<http://dorward.me.uk/>
<http://blog.dorward.me.uk/>

Wiggins D Anconia

2004-05-14, 11:30 am

>
> Hi,
>
> can u tell me what is diference between my & local in perl with example.
>
> i am waiting ur favourable reply..........
>


An excellent read on this subject:

http://perl.plover.com/FAQs/Namespaces.html

Randal also has some articles on this in his list...

http://danconia.org
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com