![]() |
|
good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: regex neededby pfaut (Priest) |
on Mar 14, 2003 at 14:17 UTC ( #243048=note: print w/replies, xml ) | Need Help?? |
You have delimited data and want to extract one component. split is usually the correct way to deal with delimited data. You don't like entering all those extra variables when you only want one of the values? Then assign to an array and extract the component you want from the array.
You can make this shorter by eliminating the temporary array.
In Section
Seekers of Perl Wisdom
|
|