Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Config files in CPAN modules?

by blue_cowdawg (Monsignor)
on Jul 21, 2006 at 14:51 UTC ( #562878=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    <disco_database>
         <host>database-host.foo.com</host>
    ...
         <user>disco</dbname>
         <password>duck</password>
    </disco_database>
    
  2. or download this
    package my_package;
    use Class::DBI::Loader; 
    ...
            user=>$config->{disco_database}->{user},
            password=>$config->{disco_database}->{password}
             | and so forth...
    
  3. or download this
    | blah blah...
    use IBM::Disco::HostEntry;
    ...
    my $he = IBM::Disco::HostEntry->new{ config_file => 
                     qq(/path/to/file) );
    |
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2014-12-27 01:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (176 votes), past polls