in reply to Re: Apparent Inconsistencies in Perl Function Naming
in thread Apparent Inconsistencies in Perl Function Naming
IOW return a list of lengths instead of the number of things in the array. (Which I can easily get anyways.)sub length { if (1 == @_) { return CORE::length(shift); } else { return map {CORE::length($_)} @_; } }
Perl can't match both my expectations and princepawn's...
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re (tilly) 2 (expectations): Apparent Inconsistencies in Perl Function Naming
by swiftone (Curate) on Nov 28, 2000 at 02:31 UTC | |
by tilly (Archbishop) on Nov 28, 2000 at 03:10 UTC |