I find it impossible to find a mistake since I have no idea what output you were expecting. But anyway: Running the command through the debugger is usually quite useful in such cases:
perl -d abc.pl pqr.txtIn reply to Re: Unable to find my mistake
by haj
in thread Unable to find my mistake
by suvendra123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |