|
|
| No such thing as a small change | |
| PerlMonks |
Re^2: Can't seem to match from one varibale to next one.by Ben328 (Novice) |
| on Sep 16, 2012 at 22:52 UTC ( #993941=note: print w/ replies, xml ) | Need Help?? |
|
Thanks Kenosis. This is great. On your solution how do i define other variables within the line though? Basically, I also wanted the capability to pull any portion of the line as a variable so that I can compare each variable seperately later on. For ex: I want to define variable for ACTIVE ExecuteThread: and so forth as well. Do i do that as follows: push @infos, $1, $2, $3, while $data =~ / \ (.+?) \ \s+ \ (.+?) \ ... and so forth Does this makes sense? Hopefully, i am asking the right question. In any case, I have been helped tremendously already. Thanks,
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||