Is there any way to ignore namespace changes that will occur in a procedure before calling the procedure? :)
Details: I have several databases that have a field count in the fifty+ range. I got tired of copying/pasting the variable names to read in from the array (DBI), so I threw the variable stuff into a function, and made it a library that I "required." Simple stuff.
Problem: I'm adding a feature to a rather large script (6000 lines), and I'm using a particular library I wrote. This library calls the variable library, but this causes a conflict with the variables in my main script...
"Change the variable names" would of course work, but then I would have to change much printed and unprinted documentation.... that and its the easy way out.
There are about twenty different programs now using those libraries, and I'd prefer solutions that didn't require modifying the calling programs... anybody have any ideas?
If I'm not being clear feel free to yell at me to post examples. Thank You.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.