in reply to OO Perl Problems

Files that are requireed or useed need to return true. So the last statement in your file should evaluate to true e.g
package foo; # code here 1; # or anything else that evaluates to true
Also are you sure you know what your doing with ref($type) || $type as it severely indicates cargo cult programming which is rather a contentious issue around here. But if you know exactly what you're doing then best of luck to you :)
HTH

_________
broquaint

Replies are listed 'Best First'.
Re: Re: OO Perl Problems
by Elgon (Curate) on Sep 13, 2002 at 15:00 UTC

    broquaint,

    Thanks for the help. I've been looking at the ref($type) || $type thing and I am probably guilty of cargo cult programming in this case!

    "Rule #17 of Travel: Never try and score dope off Hassidic Jews while under the impression that they are Rastafarians."
           - Pete McCarthy, McCarthy's Bar