in reply to Re^2: to interchange line no of file & print
in thread to interchange line no of file & print
Use: <p> text here (a paragraph) </p>
and: <code> code here </code>
to format your post; it's "PerlMonks-approved HTML"
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.$ perl -c pm.911696.pl No comma allowed after filehandle at pm.911696.pl line 10
Read also How do I post a question effectively?
Read this if you want to cut your development time in half!
|
|---|