in reply to Re: Parse Loops with flat text files. (code)
in thread Parse Loops with flat text files. (code)
with regards to returning undef. I use it just as a rule of thumb because it will evaluate to false. However, in subs where I am returning the value of the tested object, I want to be able to return 0 if the test is good -- so I always check to see if defined test( $foo ). dig?
brother dep.
--
Laziness, Impatience, Hubris, and Generosity.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re:(2) Parse Loops with flat text files. (code)
by danger (Priest) on May 14, 2001 at 00:39 UTC | |
|
Re: Re:(2) Parse Loops with flat text files. (code)
by Anonymous Monk on May 15, 2001 at 00:07 UTC |