[ABE.pm] So who can explain this?
Ted Fiedler
fiedlert at gmail.com
Wed Sep 5 12:17:22 PDT 2007
perl -e 'print map { s/^.{1}0{0,}//, $_} shift @ARGV' D234
perl -e 'print map { s/^.{1}0{0,}//, $_} shift @ARGV' 000000234
perl -e 'print map { s/^.{1}0{0,}//, $_} shift @ARGV' D0000234
prints: 1234
Im sure im losing my mind...
what im looking for is: 234
Ted
--
If you mess with a thing long enough, it'll break.
-- Schmidt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/abe-pm/attachments/20070905/37c0391d/attachment.html
More information about the ABE-pm
mailing list