Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re^3: Print subroutine problem

by CountOrlok (Friar)
on Apr 05, 2013 at 18:54 UTC ( #1027199=note: print w/ replies, xml ) Need Help??

in reply to Re^2: Print subroutine problem
in thread Print subroutine problem

Just the way you have the line 'database=s' => \$database, you can add a line for $hostname.

Also, look into making your usage statement better, i.e. tell users that they can also pass --user, --database, etc. in the command line.

Just a side note, it hurts my eyes seeing the word "querys". Someone is going to get an error if they type the correct pluralization in the script.

Comment on Re^3: Print subroutine problem
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2015-11-26 18:54 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (705 votes), past polls