Re: simple include

2004-05-06 Thread Wiggins d Anconia
> Wiggins d'Anconia wrote: > > Please bottom post > > > > J Adam Latham wrote: > > > >> Try removing "my" from all the variables in your module ... You're > >> privatizing them to your module thereby excluding them from your > >> external program ... > >> At least that's my guess! :^) > >>

Re: simple include

2004-05-06 Thread Andrew Gaffney
Wiggins d'Anconia wrote: Please bottom post J Adam Latham wrote: Try removing "my" from all the variables in your module ... You're privatizing them to your module thereby excluding them from your external program ... At least that's my guess! :^) Hopefully you could at least suggest to 'our

Re: simple include

2004-05-04 Thread Wiggins d'Anconia
Please bottom post J Adam Latham wrote: Try removing "my" from all the variables in your module ... You're privatizing them to your module thereby excluding them from your external program ... At least that's my guess! :^) Hopefully you could at least suggest to 'our' them instead of 'my', s

Re: simple include

2004-05-04 Thread J Adam Latham
Try removing "my" from all the variables in your module ... You're privatizing them to your module thereby excluding them from your external program ... At least that's my guess! :^) HTH, Adam On Tuesday 04 May 2004 12:12 pm, Andrew Gaffney wrote: : I'm working on a small Perl-based webapp. I

simple include

2004-05-04 Thread Andrew Gaffney
I'm working on a small Perl-based webapp. I want to create a small include file that all scripts will use. It looks like: use CGI; use DBI(); my $cgi = new CGI; my $dbh = DBI->connect("DBI:mysql:database=somedb;host=127.0.0.1", "user", "pass"); my $p = $cgi->Vars; my $uid = $cgi->cookie('uid');