http://www.perlmonks.org?node_id=1055957


in reply to Re: Foreach loop
in thread Foreach loop

Hmmm,

I think you meant to say grep /^1$/, @array

A user level that continues to overstate my experience :-))

Replies are listed 'Best First'.
Re^3: Foreach loop
by vinoth.ree (Monsignor) on Sep 27, 2013 at 11:36 UTC

    Oops! Yes Bloodnok, I have not tested it. Thanks.


    All is well