Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: (Mis)Understanding <c>grep...eq $_<c>

by jethro (Monsignor)
on Feb 24, 2009 at 06:49 UTC ( #745915=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @list= (1,8,3,9,2);
    
    my @newlist= grep $_<5, @list;
    
    # @newlist would be (1,3,2);
    
  2. or download this
    unless ( grep $person_has eq $_,  $item ) {
    unless ( $person_has eq $item ) {
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://745915]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2022-01-21 20:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (59 votes). Check out past polls.

    Notices?