I am very sorry, you have given me the solution but still I am not able to get the desired result. You are correct, I meant single quotes, $var1 as extra characters in the output. But let me check the cpan documentation for the correct way to print it :)
In reply to Re^5: How to add a new line after three or four lines from a pattern after getting that pattern
by anirbanphys
in thread How to add a new line after three or four lines from a pattern after getting that pattern
by anirbanphys
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |