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
In reply to Reading n lines/records from a file by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |