On Aug 2, awarsd said:
>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?
Both of them refer to $main::passvar, so either would work.
--
Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.co
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 t