Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: (Mis)Understanding grep...eq $_ (versus ex-bang-bang)

by grinder (Bishop)
on Feb 24, 2009 at 07:50 UTC ( #745926=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @part = (
        'http://example.net/app',
    ...
        ( $id      ) x!! defined $id,
        ( $submode ) x!! defined $submode,
    );
    
  2. or download this
    my @part = (
        'http://example.net/app',
    ...
        grep( defined($id),      $id      ),
        grep( defined($submode), $submode ),
    );
    

Log In?
Username:
Password:

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

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












    Results (56 votes). Check out past polls.

    Notices?