Jump to content

[Solved] Running Perl scripts won't work.


cl58

Recommended Posts

Honestly, I am not worried about the module not being installed.

 

MovableType is more important in this matter. Also, the lack of the one module is not causing the problem because none of the MovableType CGI or Perl files are working.

Link to comment
Share on other sites

The line that does the include is "Net::IRCService". That instructs Perl to look for a "IRCService.pm" file in the directory "Net". It looks for this directory in any of the paths in @INC. However, if this file cannot be found it will error out as shown.

 

If he explicitly included the file instead of the module, or he added the correct path to @INC there shouldn't be a problem. If he doesn't have the file, it shouldn't be too hard to download it.

Link to comment
Share on other sites

It is all perl scripts that I have tried to use. If it is coincidence, wow, but I do not think it is.

 

See if you can run this simple time script.

 

#!/usr/bin/perl -w
use CGI ':standard';
$current_time = localtime;
#
print header,
start_html('A Virtual Clock'),
h1('A Virtual Clock'),
"The current time is $current_time - PST.",
hr,
end_html;

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...