in reply to wantarray alternative
return (wantarray) ? map { lc } @_ : first {$_} map { lc } @_;
Update: Doh! Preceptor beat me to it.
|
---|
In Section
Seekers of Perl Wisdom
in reply to wantarray alternative
return (wantarray) ? map { lc } @_ : first {$_} map { lc } @_;
Update: Doh! Preceptor beat me to it.
|
---|