Hi,

here is the actual top of the file


#!/usr/bin/perl

use CGI qw(:standard);
use DBI;

require "/path/to/config.pl";
 ##inside config.pl it has $dataDir
##$dataDir = "/path/to/";
use lib $dataDir."Module";
use Test;
...........

Should I declare variable i.e
my $datDir inside the program or in the config.pl??
Also should i declare in module $main::dataDir like
my $main::dataDir; or I can just leave $main::dataDir??

Anthony



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to