Re: BEGIN Block in CGI Script

2013-01-28 Thread Mike Flannigan
Thank you. On 1/28/2013 3:07 PM, Shawn Corey wrote: The attached CGI is useful for determining what a script's environment is.

Re: BEGIN Block in CGI Script

2013-01-27 Thread Shawn H Corey
On Sun, 27 Jan 2013 12:30:17 -0600 Mike Flannigan wrote: > That @INC data is apparently from the website domain. The attached CGI is useful for determining what a script's environment is. -- Don't stop where the ink does. Shawn env.cgi Description: Binary data -- To unsubscribe, e-m

Re: BEGIN Block in CGI Script

2013-01-27 Thread Mike Flannigan
Thanks so much for the quick response. I appreciate it. Of course I am putting this cgi file on my website domain and running it there, so in a way it is running on Unix. It is running that code, but whether it is working or not is not clear to me. At the beginning of the code @INC is: /usr/l

Re: BEGIN Block in CGI Script

2013-01-27 Thread Shawn H Corey
On Sun, 27 Jan 2013 10:30:38 -0600 Mike Flannigan wrote: > > I have written some CGI applications that start > with this code: > > > BEGIN { > my $homedir = ( getpwuid($>) )[7]; > my @user_include; > foreach my $path (@INC) { > if ( -d $homedir . '/perl' . $path ) { >

Re: BEGIN Block in CGI Script

2013-01-27 Thread Ken Slater
On Sun, Jan 27, 2013 at 11:30 AM, Mike Flannigan wrote: > > I have written some CGI applications that start > with this code: > > > BEGIN { > my $homedir = ( getpwuid($>) )[7]; > my @user_include; > foreach my $path (@INC) { > if ( -d $homedir . '/perl' . $path ) { >