By the way Joel, I'm also on pair.com. Perhaps there are many others of
us who are as well, and if so perhaps a request from enough of us would be
a "compelling reason." (dk)
--
some people wear their smile like a disguise /
those people who smile a lot watch the eyes /
i know cause i'm like that a lot / you think
everything's okay / it is till it's not
d.o.r.l.a.n.d.o
...k.e.i.s.e...
On Mon, 29 Oct 2001, Joel Gwynn wrote:
> 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]