Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: best way to store login information for a perl script?

by Plankton (Priest)
on Jul 04, 2009 at 05:12 UTC ( #777174=note: print w/ replies, xml ) Need Help??


in reply to best way to store login information for a perl script?

One thing you could do is when you run your script have it interactively prompt for a password then have the script fork off into a daemon process where it does its stuff. If you need to change what the script/daemon does send it a "kill -HUP pid" and have it read some text file or whatever. Or write your script so you can send it "commands" via a socket.
  • Comment on Re: best way to store login information for a perl script?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (9)
As of 2016-06-27 14:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (337 votes). Check out past polls.