It also gives a warm, fuzzy feeling to those of us who grew up declaring variables before we use them. -----Original Message----- From: Aaron [mailto:[EMAIL PROTECTED]] Sent: Saturday, May 13, 2000 13:22 To: Perl-Win32-Users Mailing List Subject: Why So Much My? (was Re: Finding Latest File) I was under the impression that the reason for using "my" to declare a variable was to make it act like a local variable in a sub-routine or loop. Once you leave the sub or loop, the variable ceases to exist, thus making your script more efficient, easier to debug, and more flexible. > > } > > print("$new_file\n"); > > Now you can copy it to the new dir. > > -- > ,-/- __ _ _ $Bill Luebkert ICQ=14439852 > (_/ / ) // // DBE Collectibles http://www.wgn.net/~dbe/ > / ) /--< o // // Mailto:[EMAIL PROTECTED] http://dbecoll.webjump.com/ > -/-' /___/_<_</_</_ http://www.freeyellow.com/members/dbecoll/ > > --- > You are currently subscribed to perl-win32-users as: [EMAIL PROTECTED] > To unsubscribe, forward this message to > [EMAIL PROTECTED] > For non-automated Mailing List support, send email to > [EMAIL PROTECTED] -- -------- Aaron Rainwater --------- | Only two things are infinite: | | the universe & stupidity... | | I'm not sure about the former. | | ~ Albert Einstein | ---------------------------------- --- You are currently subscribed to perl-win32-users as: [archive@jab.org] To unsubscribe, forward this message to [EMAIL PROTECTED] For non-automated Mailing List support, send email to [EMAIL PROTECTED]