in reply to Command Line Output Different from Output to Browser

You say that the script will eventually be a CGI. If it isn't a CGI yet, what exactly do you mean by "execute this same script through my browser"?

As an aside, your example cries out for using a templating mechanism, such as Text::Template.

  • Comment on Re: Command Line Output Different from Output to Browser

Replies are listed 'Best First'.
(shockme) Re: Re: Command Line Output Different from Output to Browser
by shockme (Chaplain) on Mar 26, 2002 at 02:00 UTC
    Sorry for the confusion. It's CGI.

    If things get any worse, I'll have to ask you to stop helping me.