in reply to Re^2: String/Numeric Manipulation
in thread String/Numeric Manipulation
You are right tr would have been more efficient for what I did but I really should have put s/^+//; to follow the principle of least surprise so that 2+3 would be rejected rather than converted to 23
Cheers,
R.
|
---|
In Section
Seekers of Perl Wisdom