Hi,
Don't forget to close the FH :
close();
Regs David
-
>
> Greetings All,
>
> I have the following code, from which I attempt to call the module
> Test
> #!/usr/local/bin/perl
> ###
> ### Program name: demo.pl
> ### Created By:Theresa Mullin
>
> require "cgi.lib
> -Original Message-
> From: Theresa Mullin [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 24, 2002 2:30 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Running Modules
>
>
> Greetings All,
>
> I have the following code, from which I atte
On Monday, June 24, 2002, at 01:09 , drieux wrote:
[..]
>> use Test;
>>
[..]
there is also a 'name space' clash here
"Test.pm" already exists as a real module
in most of the perl releases.
cf: perldoc -m Test
So you may want to get into h2xs a little sooner -
so that you can feel safe about d
On Monday, June 24, 2002, at 11:30 , Theresa Mullin wrote:
[..]
> use Test;
>
[..]
>
>
Here is module Test:
>
> #!/usr/bin/perl
>
> ### Program Name: Test.pm
> ### Created By:Theresa Mullin
> ### Date: 5/20/02
>
> package Test;
>
> $dbase = "TEST";
> print "And to all a good nig
Greetings All,
I have the following code, from which I attempt to call the module
Test
#!/usr/local/bin/perl
###
### Program name: demo.pl
### Created By:Theresa Mullin
require "cgi.lib";
### Include the CGI stuff
use CGI qw(:standard);
### Include the database access stuff
use DBI;