Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: do not understand grep example

by BrowserUk (Patriarch)
on Jun 15, 2012 at 17:38 UTC ( [id://976469]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $input = shift;
    
  2. or download this
    my @digits = split //, $input;
    
  3. or download this
    $sum += $_ for @digits;
    
  4. or download this
    return $sum % 2;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2024-04-19 23:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found