in reply to Re: Gas gauge ??
in thread Gas gauge ??
I tried the example from Cpan, but got a "Can't locate CGI/ProgressBar.pm in @INC ..." message, so have asked the web hosts to install that module.
The current shebang line,etc is
#!/usr/bin/perl -wT use CGI qw/:standard/; use DBI; use Net::SMTP; #use CGI::Carp qw(fatalsToBrowser); #comment this out when in produ +ction BEGIN { use CGI::Carp qw(carpout); open(LOG, ">>/home/username/cgi-bin/process-log") or die("Unable to open process-log: $!\n"); carpout(LOG); } # resource limits $CGI::DISABLE_UPLOADS = 1; # no uploads $CGI::POST_MAX = 1024 * 10; # max 10K posts
Looking at the example on Cpan, would the insertion of the following
use lib '..'; use CGI::ProgressBar qw/:standard/; $| = 1; # Do not buffer output
have any other effect on the displaying of error messages (currently to browser), or other o/p to the browser (HTML code,etc) ?
Peter
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Gas gauge ??
by Roger (Parson) on Jan 08, 2004 at 03:02 UTC | |
by peterr (Scribe) on Jan 08, 2004 at 03:11 UTC |