develooper Front page | perl.beginners | Postings from January 2002

AppConfig module ...need help.

jeff loetel
January 31, 2002 23:05
AppConfig module ...need help.
Message ID:
I'm trying to run the AppConfig module, but making a error somewhere, it
should be straight forward but....

At any rate here is the code, followed by the config file followed by
the error.


use AppConfig;

my $file = "/var/tmp/config.txt";

my $config = AppConfig->new();


print $config->head();
print "\n";


#config file (/var/tmp/config.txt)
head = doh!

$ ./ 
/var/tmp/config.txt: No such file or directory
head: no such variable

I've checked permissions and tried different things, like using

What am I doing wrong. I installed the Appconfig bundle, and checked
everything is there.

jeffl Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About