Perl Monk, Perl Meditation | |
PerlMonks |
Re: Regex matching and setting variablesby Errto (Vicar) |
on Aug 09, 2007 at 01:23 UTC ( [id://631442]=note: print w/replies, xml ) | Need Help?? |
I would use split. You can use the special split on whitespace to turn your columns into elements of a list like so
and then go from there. For your second question, it depends. Are you sure it's strict that's complaining and not the taint checker? What does the code look like for "ENV={PATH}" that you mentioned?
In Section
Seekers of Perl Wisdom
|
|