Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: Subtracting Stringified Negative Numbers (Data::Dumber)

by monkfan (Curate)
on Jun 22, 2007 at 08:47 UTC ( [id://622747]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $some_string = "0,-933";
    
    ...
    my ($id1,$n1) = split(",",$some_string);
    #then do things with $n1 and $n2.
    
  2. or download this
    $VAR1 = "0,\34-933";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://622747]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2024-04-26 00:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found