in reply to A gentle soul to verify a Config::Simple based object?
Everything tests ok here. How about adding a test for file readability - maybe the user under which you are running can't read the config file?
die "Config file not readable!" unless -r CONFIG_FILE; # or maybe "-R" ?
update: this is the code I used for testing:
my $x = RCB::Config->_new_instance; use Data::Dumper; print Dumper( $x );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: A gentle soul to verify a Config::Simple based object?
by monsieur_champs (Curate) on Sep 28, 2004 at 20:50 UTC | |
by jfroebe (Parson) on Sep 28, 2004 at 21:26 UTC |