in reply to problem with repeating function
Can you demonstrate the problem with a short piece of code. It's easier to follow code than narrative descriptions. Your description is a little unclear.
My first guess is that you need to also "require" the second program in the class that creates the object that you are talking about. But my second thought is that if this function is as useful as you think it is, then you should consider putting it into a real module which will make it easier to use elsewhere.
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
| A reply falls below the community's threshold of quality. You may see it by logging in. |