Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 about the Monastery: (9)
As of 2014-09-21 14:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (172 votes), past polls