Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2017-05-30 12:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?