Ok, I have a package

package blah;
{
sub foo {
       print "I do not understand perl"
       return 5;
}
}

Now, how do I call this function from outside the package?

I have written this:

$perlversion = blah::->foo;

but it doesn't work, it asks for explicit package name.

Please help.

-Nick
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

Reply via email to