Hi,
Don't forget to close the FH :
close(DEMO_LOG);
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;
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;
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 doing
-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 attempt to call the module
Test
#!/usr/local/bin
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 night \n;
The code
On Monday, June 24, 2002, at 01:00 PM, drieux wrote:
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;
On Monday, June 24, 2002, at 01:48 PM, drieux wrote:
On Monday, June 24, 2002, at 01:34 , bob ackerman wrote:
[..]
yes but there is not a place to easily grasp the idea of using h2xs.
a little holdhanding would help.
[..]
thanks for keeping me honest homeboy
we'll be back with
On Monday, June 24, 2002, at 02:39 , bob ackerman wrote:
[..]
and where to go to find similar info on POD, itself.
perldoc perlpod
is where I started
now, the issue is how people that want to know this stuff will know where
to go to find it.
plan a) we get them to buy