The stupid question is the question not asked | |
PerlMonks |
Re: Problem With Splitby wufnik (Friar) |
on Jun 16, 2004 at 13:33 UTC ( [id://367234]=note: print w/replies, xml ) | Need Help?? |
you could try unpack for this, given you seem to be looking
for fixed length string processing. after all, why use vulgar regexen when the refined unpack is ready to help? in the following i also use sprintf to deal with leading zeros.
...wufnik -- in the world of the mules there are no rules --
In Section
Seekers of Perl Wisdom
|
|