This is a perfect thing to use to learn the debugger. If you step through your program examining the variables involved in that step, you'll find your mistakes on the first iteration. You only need "n" (next) and "p" (print), and "q" (quit) for this.
Seriously. You really ought to try the debugger.
In reply to Re: file handling in perl whatz the problem???
by thargas
in thread file handling in perl whatz the problem???
by vikashiiitdm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |