Ikegami, BrowserUK, Corion and all other monks who contributed---thanks for all your help
I finally got entities.pl (see the thread for more detail on this) to work. I deleted the html file to be processed, replaced by a SHIFT. So it went like this
#!/usr/bin/perl
use strict;
use Data::Dumper;
$|=1; #makes the macro produce all results at once, not in spurts
my $filename =SHIFT; #Instead of RAH99.html
And then my command line was this:
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Captain Rob>cd..
C:\Users>cd..
C:\>cd perl64
C:\Perl64>cd bin
C:\Perl64\bin>perl entities.pl RAH99.html
C:\Perl64\bin>
The resultant script will process any html script and replace all special characters with html entities in the submitted html file---in this case RAH99.html.
So, thanks once again to all who contributed their time and thoughts to steering me onto the right path. Greatly appreciated. While this is the end of this thread, like MacArthur--and the Terminator--I'll be back
|