perl -ple"exit if $. > 20"
Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller
| [reply] [d/l] |
I am getting compilation error, what i have used is $file_next = perl -ple" exit if $. == 10" $file_upload;
where
my $file_upload="$dir_details->{WORK_DIR}/upload/$params->{upname}.dat"; is the syntax correct?
| [reply] |