Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: comparing columns using regular expressionby thezip (Vicar) |
on Jan 19, 2011 at 04:15 UTC ( [id://883053]=note: print w/replies, xml ) | Need Help?? |
Are you sure you want to use a regex to do this? I think it's much more natural to use unpack (or even split, possibly) to do what you're trying to do. Update: I suppose I should mention that the *reason* it would be more natural to use unpack is because your columns are fixed-width columns. Unpack is great for extracting columnar data formatted in this way... Try this to see if it works for you:
What can be asserted without proof can be dismissed without proof. - Christopher Hitchens
In Section
Seekers of Perl Wisdom
|
|