Thanks for the solution it works!! One thing I don't understand why we are using my $prev = ""; also $prev = $_; due to which I am getting previous line from the file
What's the magic behind it
Thanks!!
In reply to Re^2: filehandle regex
by pinnacle
in thread filehandle regex
by pinnacle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |