Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

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

by Your Mother (Chancellor)
on Jul 04, 2009 at 06:11 UTC ( #777180=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use YAML ();
    my $config = YAML::LoadFile("$ENV{HOME}/.twitter.cnf");
    
    ...
    ---
    username: MooseQueen
    password: twitterLuser
    
  2. or download this
    use Net::Twitter;
    use YAML ();
    ...
                                 traits => [qw/API::REST/],
                                 %{$config},
                                );
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2015-07-06 05:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (70 votes), past polls