in reply to Re^5: Commenting out carpout causes script to hang
in thread Commenting out carpout causes script to hang

OK, just read the debugging section of CGI.pm - very cool. Thanks. That gets the parameters set.

But the script uses the .htaccess username to identify the records to retrieve and gets it like this:

$username = $ENV{'REMOTE_USER'};
and I dont see in the documentation how to get that from the command line.


UPDATE: But nevermind - I'll just set the username programmatically temporarily.

Replies are listed 'Best First'.
Re^7: Commenting out carpout causes script to hang
by ikegami (Patriarch) on Oct 10, 2007 at 17:29 UTC

    One way in bash:

    REMOTE_USER=ikegami example.cgi ...