[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl][off topic] local & my (was Re:Any way to Tee...)



At 14.19 1998.02.18, Mark Manning/Muniz Eng. wrote:
>For my part I'm now having to go back through some of the
>routines I built in Perl 4.0 and make sure the local
>commands are not causing problems because I thought that
>the LOCAL command was truly local.  :-)

The general rule of thumb is DO NOT ever use local unless you specifically
want to save and later restore the value of a global variable.

Have fun,

--
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey=('B76E72AD',[1024,'0824 090B CE73 CA10  1FF7 7F13 8180 B6B6'])
#==               New Book:  MacPerl: Power and Ease               ==#
#==    Publishing Date: Early 1998. http://www.ptf.com/macperl/    ==#



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch