in reply to Re: Properties files to read the tokes and passwords outside of the perl scripts.
in thread Properties files to read the tokes and passwords outside of the perl scripts.
Its works great. Thanks for your help
open my $fh, '<', "C:/" . "conf.prop" or die "unable to open configura +tion file"; my $properties = Config::Properties->new(); $properties->load($fh); my $value = $properties->getProperty('my.token');
This might help somebody. Simple question with simple answers.Thanks
|
|---|