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

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

by Your Mother (Canon)
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 surveying the Monastery: (16)
As of 2014-07-24 16:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (162 votes), past polls