PVL wrote:...Now my earlier code is throwing some error which I am unable to decipher and still my installed packages do not show TokeParser or TagParser. There are 299 modules installed and the ones starting with HTML are
HTML-Ajax
HTML-Dojo
HTML-Parser
HTML-Tagset
HTML-Tree...
Go to
http://localhost and look for the
Perl menu item in the left frame.
After clicking on the link there is now a menu item
perlinfo() - click on the link and it should reveal all the modules that are installed on your system.
Also open your httpd.conf file and make sure these lines look like this:
# Perl
Include conf/extra/perl.confIf it is commented out then remove the comment character
# from in front of this line only:
# Include conf/extra/perl.confso it looks like this:
Include conf/extra/perl.confPVL wrote:The code which was working earlier is as follows,
use LWP::Simple;
use LWP::UserAgent;
use HTTP::Request;
use HTTP::Response;
use HTML::LinkExtor; # allows you to extract the links off of an HTML page...
I see no shebang line.
There should be a path to perl (shebang) line at the very start of your perl script similar to this:
#!"C:\xampp\perl\bin\perl.exe"Your path to perl may be different so change the above line to reflect your own path to perl.
Please add it to every perl script you are using.
Where are you running this perl script from and how are you calling it?
A URI in your browser?
The command line?
Etc.
Where have you put the script in your web tree?
In a cgi-bin in the web tree inside the htdocs folder?
In the XAMPP cgi-bin?
Etc.
What is the name or rather the extension of your script?
for example is it scriptname.cgi or scriptname.pl
PVL wrote:Now I am getting error,
501 Errno architecture (MSWin32-x86-multi-thread-4.0) does not match executable architecture (MSWin32-x86-multi-thread-5.00)
I can't find any reference to this error nor any fix so it may be related to what the answers to my above questions are.
PVL wrote:I can see the pm files in the folder but they dont appear installed in PPM...
See the results of perlinfo() above...
...and in
PPMclick on menu
View and select
all packages after the sync has finished loading.
Now select/highlight
HTML-TableParser.
Click on menu
Action and select
Install HTML-TableParser.
Now click on menu
File and select
Run Marked Actions.
Click
OK when the pop up confirmation displays.
Wait until the install is complete and at all times watch the display in the
Status tab for info.
Now check the
Details tab.
Now check under menu
View the
Installed Packages again to see the
HTML-TableParser is installed.
Repeat the above for anymore packages you feel you need installed.
PVL wrote:Am I making some mistake in installation?
How did you install the addon? Details of how you did this install is the only way I could know if you did anything wrong.