Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Remove letters from variables used in math operation?

by AnomalousMonk (Monsignor)
on Dec 08, 2012 at 21:22 UTC ( #1007930=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    >perl -wMstrict -le
    "my $s = '86f,934e,92,102i,14,19,222,';
    ...
     print $sum;
    "
    1469
    
  2. or download this
    >perl -wMstrict -le
    "use List::Util qw(sum);
    ...
     print $sum;
    "
    1469
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2014-07-10 05:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (199 votes), past polls