Re: one liner for for and if

[email protected] (Rob Dixon)
Newsgroups perl.beginners
Message-ID <[email protected]>
Yitzchok Good wrote:
>
> if ("$_" eq q/three/) {print "$_\n" for @array last};

That won't even compile. Please don't publish nonsense.

Rob
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.