Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 cooling their heels in the Monastery: (11)
As of 2015-09-03 21:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred temperature scale is:










    Results (126 votes), past polls