in reply to Re^2: Subtracting Stringified Negative Numbers (Data::Dumber)
in thread Subtracting Stringified Negative Numbers
You are right, tye. Following your suggestion, and by doing this:
Regards,
Edward
It gives:my $some_string = "0,-933"; $Data::Dumper::Useqq = 1; print Dumper ($some_string) ; my ($id1,$n1) = split(",",$some_string); #then do things with $n1 and $n2.
So my questions are:$VAR1 = "0,\34-933";
- How can this \34 comes, in the first place?
Can we avoid that?
My development is always under Linux/Unix platform. And those variable values are read from a file. - How to remove this \34 character from $VAR?
Regards,
Edward
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Subtracting Stringified Negative Numbers (Data::Dumber)
by BrowserUk (Patriarch) on Jun 22, 2007 at 16:43 UTC |
In Section
Seekers of Perl Wisdom