And in the file itself I include it like this:$foo=>"bar", $something=>"whatever",
my %config = do "path/config.pl" print $config{foo};
In reply to Re: How ti include a file in Perl script
by Saladino
in thread How ti include a file in Perl script
by Ethen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |