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 musing on the Monastery: (2)
As of 2015-07-06 04:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (70 votes), past polls