in reply to Re^2: Regular Expressions Matching with Perl
in thread Regular Expressions Matching with Perl
use strict; use warnings; use Data::Dumper; my @Temp; use constant FileNameStart => 58; while(<DATA>) { chomp(); push(@Temp, substr($_,FileNameStart)); } print(Dumper(@Temp)); __DATA__ 0 Stored 0 0% 04-20-05 08:43 00000000 test 1 2 3.z +ip 704106 DeflatN 83362 89% 04-04-05 19:00 8e76dc22 file1.dat
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Regular Expressions Matching with Perl
by ikegami (Patriarch) on Apr 20, 2005 at 19:28 UTC |