Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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 making s'mores by the fire in the courtyard of the Monastery: (12)
As of 2014-07-25 13:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (172 votes), past polls