in reply to Re: no grep match returns undefined?
in thread no grep match returns undefined?
grep returns an array of matched elements
Actually it returns a list of matched elements.
The difference can be important.
--"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
|
|---|