Just another Perl shrine | |
PerlMonks |
Re^3: to interchange line no of file & printby Anonymous Monk |
on Jun 28, 2011 at 08:49 UTC ( [id://911700]=note: print w/replies, xml ) | Need Help?? |
Every time you create a post here, you get a reminder to use code tags, it literally looks like
Use: <p> text here (a paragraph) </p> so follow the advice, and put your code in between code tags, its where code (and data) goes :) Now your code doesn't use lexical filehandles, which means you have not read perlintro . It also doesn't use strict or warnings, and in fact, it has syntax errors So for the time being you should forget about whatever program you're trying to write and work through perlintro to get up to speed. Read also How do I post a question effectively? Read this if you want to cut your development time in half!
In Section
Seekers of Perl Wisdom
|
|