Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

problems with reading data from cfg file

by pitbull3000 (Beadle)
on Sep 10, 2001 at 01:15 UTC ( #111329=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    my $db_pass = $db_config{'db_pass'};
    
    my $dbh = DBI->connect("dbi:mysql:$database:$db_server", "$db_user", "
    +$db_pass") or die "Konnte Datenbankverbindung nicht herstellen: $!";
    
  2. or download this
    #!/usr/bin/perl
    
    ...
    print $db_pass . "<br>";
    
    print $query->end_html();
    
  3. or download this
    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE html
    ...
    <br>db07.puretec.de
    <br>p7397271
    <br>8vskBBPH<br></body></html>
    
  4. or download this
    database:xxxxxx
    db_server:yyy.yyyyy.yy
    db_user:xxxxxx
    db_pass:yyyyyy
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://111329]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2023-02-06 09:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (33 votes). Check out past polls.

    Notices?