Pages: [1]   Go Down
Send this topic | Print
Author Topic: simple perl script no error but server produce 500.php error  (Read 350 times)
goldcup
Member
*
Offline Offline

Posts: 17


« on: December 07, 2008, 01:43:07 PM »

Hi,
This simple perl script below produce errors. However, if I comment out #use Algorithm::Numerical::Shuffle qw /shuffle/;# as in script 2 below, the script work. So what must I do to use this shuffle module?
Thanks

#### script1 #############
## produce error ==>> http://www.110mb.com/500.php #####
#!/usr/bin/perl
use strict;
use warnings;
use CGI;
use Algorithm::Numerical::Shuffle qw /shuffle/;

print "Content-type: text/html\n\n";
print "hello world\n";

## script 2 no errors ################
#!/usr/bin/perl
use strict;
use warnings;
use CGI;
#use Algorithm::Numerical::Shuffle qw /shuffle/;

print "Content-type: text/html\n\n";
print "hello world\n";
Logged
robleyd
Official 110mb Guru
********
Online Online

Posts: 5700

Ask before you PM


« Reply #1 on: December 07, 2008, 01:50:47 PM »

The module doesn't appear on the list at http://www.110mb.com/pages/perl-modules.htm so you might want to register your interest at http://www.110mb.com/forum/features-you-want-added-to-110mb-b3.0/
Logged

I once had a hard drive clunk-clicking
Strange noises, weird sounds and tick-ticking
I thought I would wait
And procrastinate...
But now all my data is missing
--------------
dd, a dump, a data dump
read a line from standard in
$USER, the name I call my self
make - a long long time to run
.so a library that is shared
.ko it's not the same as .so
tee, a redirect with in and out
and brings us back to dd d d d
goldcup
Member
*
Offline Offline

Posts: 17


« Reply #2 on: December 07, 2008, 05:01:05 PM »

Thanks robleyd.
Logged
Pages: [1]   Go Up
Send this topic | Print
Jump to: