Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

chaoticset (2105)

  (email not shown publicly)
AOL IM: chaoticset23 (Add Buddy, Send Message)
Yahoo! ID: illuminatus_foil (Add User, Send Message)

JAPH. (That's right -- I'm not Really Inexperienced any more.)

I'm not just here, I'm here [], and here [] too, I ramble randomly in my philosophical blog [] and my other blog []. Soon I'll come in a convenient six-pack.

Journal of chaoticset (2105)

Tuesday January 06, 2004
11:10 AM

An Excerpt Of Thought During CGI Programming

[ #16669 ]
Ah, let's see...well, we got another error. Check the Apache logs:

[Tue Jan 06 10:55:23 2004] [error] [client] couldn't spawn child process: c:/apache group/apache/cgi-bin/midpt.cgi

...oh, right. My hashbang was #!\usr\bin\perl instead of #!C:/perl/bin/perl.exe, so Apache couldn't find it. Duh.

Fixed. Next, let's see...

[Tue Jan 06 10:59:18 2004] [error] [client] malformed header from script. Bad header=1..3: c:/apache group/apache/cgi-bin/midpt.cgi

What in the world...?

Well, let's look. Okay, the header is 1..3? But when I ran it, all the tests passed--

Good lord, I am not that bright sometimes. Jesus.

All right, let's go figure out how to use Test::More with CGI. I vaguely remember seeing something along those lines somewhere. (I'm already using CGI::Carp, so I suppose I could just handwrite tests, but I like using Test::More now.)

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.