$Oracle::Procedures::DBH = DBI->connect(.....);
If you could set the package global only once at program startup and then be done with it (which you cannot because there might be more than one connection, and connections sometimes have to be re-opened) that would be sweet.
But as you cannot, you have to set it every time you call one of Oracle::Procedures' functions, and then there is no gain (in code prettiness) compared to just passing it in every time.
In reply to Re^2: calling Oracle stored procedures
by Thilosophy
in thread calling Oracle stored procedures
by Thilosophy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |