No such thing as a small change | |
PerlMonks |
Re: Simplify constant value determinationby ysth (Canon) |
on Aug 25, 2006 at 16:37 UTC ( [id://569621]=note: print w/replies, xml ) | Need Help?? |
Since you seem to just want the first group of digits:
should do it. No need for eval or substitution here. Update: grr, I don't use g-less m// in list context often enough to remember what it returns.
In Section
Seekers of Perl Wisdom
|
|