|
|
| The stupid question is the question not asked | |
| PerlMonks |
Re^3: How to store matched $1 values one by one to array?by kcott (Parson) |
| on Feb 02, 2013 at 08:03 UTC ( #1016678=note: print w/ replies, xml ) | Need Help?? |
|
Well, it's not an inconvenience, but that does now highlight where you're going wrong. Declare your array outside of whatever loop iterates over your logfile and replace my @array=$agent_id; with a push statement, as I indicated. -- Ken
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||