You could always install your own local copy of the module. -Stephen
-----Original Message----- From: Joel Gwynn [mailto:[EMAIL PROTECTED]] Sent: Monday, October 29, 2001 02:56 PM To: Jesse Erlbaum; [EMAIL PROTECTED] Subject: Re: [cgiapp] weird error Thanks, Jesse. Since the app is on my host (pair.com), I can't upgrade it myself. They will probably upgrade if there's a compelling reason to do so. Is there? If so, what. Also, if they won't upgrade, what other pitfalls should I look out for in the version they're using? ----- Original Message ----- From: "Jesse Erlbaum" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, October 28, 2001 8:00 PM Subject: RE: [cgiapp] weird error > Hi Joel -- > > > > Hey all. I'm starting out with CGI::Application, and I've got a littl > > > script that runs fine on one server, but on another server, it gives > > > me this error message. > > > > > > [Sun Oct 28 17:29:23 2001] cc.cgi: Can't use string ("start") as a > > > subroutine ref while "strict refs" in use at > > > /usr/local/lib/perl5/site_perl/5.6.0/CGI/Application.pm line 90. > > > > > OK. I did some reading, and found that I need to replace my subroutine > > names with references, so instead of > > 'start' => 'start', I had to use 'start' => \&start, though I'm not > > sure why. > > > You need to upgrade to the latest version of CGI::Application. Versions > prior to 1.3 only allowed subroutine references to be used -- not the names > of functions. If you upgrade to the latest version, your code should work > properly. > > -Jesse- > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
