Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Remove letters from variables used in math operation?

by shadowfox (Sexton)
on Dec 08, 2012 at 21:09 UTC ( #1007926=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use warnings;
    while ($line = <DATA>){
            chop($line);
    ...
            
    __END__
    86f,934e,92,102i,14,19,222,
    
  2. or download this
    Argument "934e" isn't numeric in addition (+) at test.pl line 7, <DATA
    +> line 1.
    Argument "86f" isn't numeric in addition (+) at test.pl line 7, <DATA>
    + line 1.
    Argument "102i" isn't numeric in addition (+) at test.pl line 7, <DATA
    +> line 1.
    1469
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (12)
As of 2014-07-14 16:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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








    Results (268 votes), past polls