in reply to Push the each group item into array
It sounds like you want something like:
my $InputFile = "sample_log_file.txt"; open my $IN, '<', $InputFile or die "cannot open $each_file for writin +g: $!"; undef $/; # undef by default if localized my @all_metrics = <$IN> =~ /[^>]+/g; print Dumper( \@all_metrics ); close $IN;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Push the each group item into array
by senthil_v (Sexton) on Jun 07, 2011 at 06:48 UTC |