in reply to How ti include a file in Perl script
And in the file itself I include it like this:$foo=>"bar", $something=>"whatever",
my %config = do "path/config.pl" print $config{foo};
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How ti include a file in Perl script
by TGI (Parson) on Jan 11, 2008 at 06:22 UTC | |
by Saladino (Beadle) on Jan 11, 2008 at 08:15 UTC | |
by TGI (Parson) on Jan 11, 2008 at 16:20 UTC | |
|
Re^2: How ti include a file in Perl script
by Saladino (Beadle) on Jan 10, 2008 at 14:40 UTC | |
by softworkz (Monk) on Jan 10, 2008 at 16:47 UTC |