Conserving memory - was SPUG: Fw: greetings

Jason Lamport jason at strangelight.com
Sun Oct 21 22:16:02 CDT 2001


At 11:27 AM -0700 10/21/01, Jeremy Devenport wrote:
>
>Here's what I learned:
>
>1) You don't need to check for defined inside a while loop condition if
>it is of the form <FILE> or $var = <FILE>. Perl does this for you.

Is this true for all versions of Perl?  I seem vaguely to recall that 
this was a fairly recent (post 5.004) enhancement.  But I could be 
mis-remembering.

-jason


 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     POST TO: spug-list at pm.org       PROBLEMS: owner-spug-list at pm.org
      Subscriptions; Email to majordomo at pm.org:  ACTION  LIST  EMAIL
  Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
 For daily traffic, use spug-list for LIST ;  for weekly, spug-list-digest
     Seattle Perl Users Group (SPUG) Home Page: http://zipcon.net/spug/





More information about the spug-list mailing list