alright, i know that in perl, if you declare a variable outside a function, the function can use it without specifically calling it.
now, i dont want to have to redeclare a my u_id, and pass every time i want to connect to mysql in a function, the problem with this, is quite obvious, if i have to change u_id and pass, i have to go through every script, and change it multiple times.
is there an answer anyone could give me that would solve this delema of mine?
perhaps declaring all the vars in a library file, and including it, then all functions can use it?
if so, how would you do it?