Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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

by Plankton (Vicar)
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?
[stevieb]: I am thankful that I fell into Perl years ago in the manner I did. I don't believe there is another language that people care about so much, that they're willing to give everything. Langs come and go, but in Perl, it seems, things remain consistent.
[stevieb]: The people back then (~2000) are the same people now, but with much more experience. I'm appreciative that I fell into the Perl rabbit hole.

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2017-02-25 01:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (364 votes). Check out past polls.