SPUG: Perl cgi and filehandles

Brittingham, John john.brittingham at attws.com
Fri Jan 5 13:55:12 CST 2001


I hope I am wording this right...
Does perl run from a command line work differently that perl run as cgi from
a browser in requards to filehandles?
The reason I am asking is I have a script the writes to a file
("single_log_extract_results.htm") when it is run from the command line but
dies when it is run from a browser with "can not open
/home/httpd/html/single_log_extract_results.htm" 

 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     POST TO: spug-list at pm.org       PROBLEMS: owner-spug-list at pm.org
      Subscriptions; Email to majordomo at pm.org:  ACTION  LIST  EMAIL
  Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
 For daily traffic, use spug-list for LIST ;  for weekly, spug-list-digest
  Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/





More information about the spug-list mailing list