in reply to Parental Variables

Check out Exporter. It was designed to explicitly solve the problem you're describing. Also, you don't want require - you want use. Do a little reading, then come back and ask some specific questions after you've tried your hand.

Also, I'd go ahead and read Programming Perl (aka, the Camel book), published by O'Reilly. You can find it at any bookstore. (I know that every Barnes and Nobles as well as every Borders always have 2-3 copies on the shelves. Plus, Amazon has it for immediate delivery.) It sounds like you know what you want to do, but you're not quite sure how to do it.

------
We are the carpenters and bricklayers of the Information Age.

Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.