in reply to RE: RE (2): Filehandle Filter
in thread Filehandle Filter
I disagree strongly about avoiding return. That practice was desirable on old versions of Perl for speed. However, its explicit use makes the code easier to read, especially since you can't declare whether your sub is supposed to return a value or if it just happens to return a value because of the last statement executed.
- tye (but my friends call me "Tye")
|
---|
Replies are listed 'Best First'. | |
---|---|
RE (5): Filehandle Filter
by tilly (Archbishop) on Aug 11, 2000 at 17:27 UTC | |
by tye (Sage) on Aug 11, 2000 at 17:32 UTC |