[plug] Perl Query...
Colin Muller
colin at durbanet.co.za
Wed Jan 31 16:10:59 WST 2001
Trevor Phillips wrote:
> This syntax seems to work fine where you have an object, but not when you have
> a module. ie; doing Class->$bink(@args) doesn't seem to work. And that's what
> I'm after...
That will work if the package Fred is inside the script you're calling
it from. If the package Fred is in another file, first say:
use Fred;
Then your call should work - provided Fred is locatable in your @INC
directories.
Colin
More information about the plug
mailing list