Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

After installing a script I bought years ago (before I learned CGI and did things myself), it comes up with the error

"Sat Nov 20 23:10:13 2004 upload.cgi: Can't locate Symbol.pm "

I searched search.cpan.org for "Symbol" and it comes up with something that looks like it comes with Perl itself. Any ideas on why I could be getting this error or if there's a way I can set it up in my module lib directory?

Replies are listed 'Best First'.
Re: Where is Symbol.pm?
by PodMaster (Abbot) on Nov 21, 2004 at 04:44 UTC
    That looks like a serious problem (Symbol.pm has been core since 5.00307). Either you have a very very old perl, old enough to be full of serious bugs, or your installation is very very broken, in either case I would look to see if there is a different perl installed on the machine, and/or ask the sysadmin to provide you with a more modern perl (5.6 and up).

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.

Re: Where is Symbol.pm?
by Anonymous Monk on Nov 21, 2004 at 04:18 UTC
    Go to http://search.cpan.org/src/NWCLARK/perl-5.8.5/lib/Symbol.pm and save it as-is (change the filename if it appends a number). Then just upload the module to your server.