erickfq has asked for the wisdom of the Perl Monks concerning the following question:
and split each lines on de array , but i get an hexadecimal valor, any ideas? cheers erickmy $file = <STDIN>; chomp($file); if ($file=~/[a-zA-Z0-9_]\.dat/){ open(DATOS, "$file") || die "No se puede abrir el archivo, o no existe + en el directorio"; while (<DATOS>){ # print "$_\n" if m/^\d/; my @lines; my @line = @lines if m/^\d/; + + print "@lines";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: reg exp
by TVSET (Chaplain) on Oct 27, 2003 at 21:19 UTC | |
|
Re: reg exp
by hardburn (Abbot) on Oct 27, 2003 at 21:46 UTC | |
|
Re: reg exp
by ChrisS (Monk) on Oct 27, 2003 at 21:09 UTC | |
|
Re: reg exp
by sauoq (Abbot) on Oct 27, 2003 at 21:08 UTC |