- or download this
use Config::File;
$conf = Config::File->new( file => $file, path => $path );
print $conf->key;
- or download this
use Config::File 'config';
%hash = config( file => $file, path => $path );
print $hash{key};
- or download this
use Config::File 'config';
$hashref = config( file => $file, path => $path );
print $hashref->{key};
- or download this
use Config::File;
$conf = Config::File->new(file => 'my.conf');
...
print $conf->db_password, $/;
print $conf->blocked_words->[0], $/;
print $conf->emails->{webmaster}, $/;
- or download this
{
db_password => 'secret',
...
webmaster => 'webmaster@fireartist.com',
}
}
- or download this
secret
list
webmaster@fireartist.com
- or download this
package Config::File;
$VERSION = '0.30';
...
1;