in reply to Stuck on some real basic cgi perl

What am I missing?
The short answer is headers. Usually people use CGI to handle details like that. It can also make the generation of html less painful.

If you don't want to use that module, you must print a header. Add this before the print in your sample above:

print "Content-type: text/html\n\n";
Phil
The Gantry Book is now available.

Replies are listed 'Best First'.
Re^2: Stuck on some real basic cgi perl
by o2bwise (Scribe) on Apr 13, 2007 at 14:40 UTC
    Hey Phil,

    No, it wasn't the header! I was getting the objects, it was just that my location code wasn't doing anything.

    I suppose my code looked misleading. The header statement was outside of the subroutine.

    But, thanks!