Hi,

I currently have a script that has all the password and path for my scripts.
and I have module that uses them.
i.e
#!/usr/bin/perl
## script.pl <------ name of script
require 'config.pl';
use lib  '/home/site/module';
use Test;
---
now let say we have in config.pl
$passvar = ' test';

To use the variable in my module 'Test', should I do
$::passvar or $main::passvar?

And how should i declare the variable, Should i only declare in script.pl?
or in config.pl?

Thank you for any help

Awards



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

Reply via email to