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 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 pondering the Monastery: (11)
As of 2015-08-03 14:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (40 votes), past polls