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.

--
<http://www.dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg

  • Comment on Re: Re: no grep match returns undefined?