joel Gwynn wrote:
> 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.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]