There's more than one way to do things | |
PerlMonks |
Re: parsing a space-separated filename in a line with fields separated by spacesby johngg (Canon) |
on Aug 15, 2007 at 22:32 UTC ( [id://632873]=note: print w/replies, xml ) | Need Help?? |
You can work your way in from both ends using the thre-argument form of split, like this. I have just populated an AoA here but once you have done that you can do what you like with it.
This produces
I hope this is of use. Cheers, JohnGG
In Section
Seekers of Perl Wisdom
|
|