Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^4: Adding Line Numbers to the MIT Shakespeareby e.loureiro (Initiate) |
on Feb 14, 2013 at 21:53 UTC ( [id://1018805]=note: print w/replies, xml ) | Need Help?? |
Thanks for your answer, marto. The parsing worked.
But how to "capture the output into a new html file"?
I used the following command: "perl scriptname.pl inputfile.html > result.html". In the result.html file that was generated, I added the stylesheet indicated:
But the result.html file didn't show any line numbers. What may I have done wrong? P.S. - I've compared the original and the result file, before adding the stylesheet, and they are exactly the same. So the parsing didn't work as it should.
In Section
Cool Uses for Perl
|
|