in reply to Re: while(<>) { ... } considered harmful
in thread while(<>) { ... } considered harmful
require returns the last evaluated expression in the file. Normally this is 1, but I've seen people do wacky things like have "return %hash" as the last expression and do "%hash = require Foo::Bar";
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: while(<>) { ... } considered harmful (...= require ...)
by tye (Sage) on Aug 18, 2003 at 21:44 UTC | |
Re: Re: Re: while(<>) { ... } considered harmful
by Juerd (Abbot) on Aug 07, 2003 at 21:48 UTC |
In Section
Meditations