Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
and want to read n lines from $file_upload. What I have used ismy $file_upload="$dir_details->{WORK_DIR}/upload/$params->{upname}.dat +";
but I am getting sofware error here. Please help.$file_next = (perl -ple "exit if $. > 10" $file_upload);
Jhum
update (broquaint): added formatting
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Reading n lines/records from a file
by tilly (Archbishop) on May 14, 2003 at 17:39 UTC | |
|
Re: Reading n lines/records from a file
by halley (Prior) on May 14, 2003 at 17:03 UTC | |
|
Re: Reading n lines/records from a file
by flounder99 (Friar) on May 14, 2003 at 18:28 UTC |