Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: Properties files to read the tokes and passwords outside of the perl scripts.

by chandantul (Scribe)
on Dec 22, 2020 at 16:39 UTC ( [id://11125612]=note: print w/replies, xml ) Need Help??


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

  • Comment on Re^2: Properties files to read the tokes and passwords outside of the perl scripts.
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11125612]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2024-04-19 23:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found