Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: a quick stab at a public links page

by CharlesClarkson (Curate)
on Jul 20, 2001 at 08:36 UTC ( #98325=note: print w/replies, xml ) Need Help??

in reply to a quick stab at a public links page

How do you know it stops at line 12? Is there an error? What is happening that makes you certain it is this line?

Try adding use CGI::Carp 'fatalsToBrowser'; and run the program through a browser. Is there a error now? Let us know.

BTW, what operating system is the server running? I assume it's not win2k.

Charles K. Clarkson

Replies are listed 'Best First'.
Re: Re: a quick stab at a public links page
by Anonymous Monk on Jul 20, 2001 at 21:33 UTC
    i was putting print "m00"; before and after each line until i worked out where it was stopping :) then i tried taking the line out. (with other tweaks so i could)
    ill just trundle off to find out what its running, ive seen it somewhere around the site...
    ok, here's what it says:
    Portland web servers are based around IBM AIX and IBM RS/6000 web servers.

    ok, ive added the fatalsToBrowser line (assumed it was in already, which is why i was getting *really* confused!) and get the following:

    Software error:

    Undefined subroutine CGI::Vars

    For help, please send mail to the webmaster (, giving this error message and the time and date of the error.

    im still not really much enlightened, surely use CGI; should be sorting that?

    hope you can help!

         While not certain, I suspect the server may have an older version of installed. Perhaps a fellow monk knows when Vars was added to If you can get a look at the source on your server, search for the Vars subroutine. You should be able to determine the version of CGI by printing $CGI::VERSION. Install the newest version from CPAN if you can. Try a Super Search on Vars

      If all else fails you could bother the author, but wait a few days for a reply here first.

      Charles K. Clarkson
        Try to print version of CGI on your server, add:
         print $CGI::VERSION;
        And then compare version you found as installed on server with version you expected.
        Exactly this happened to me with $query->Dump() function, so now I know... ;)

        To make errors is human. But to make million errors per second, you need a computer.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://98325]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2018-05-26 18:29 GMT
Find Nodes?
    Voting Booth?