eply-To: [EMAIL PROTECTED]
> >To: Nick Transier <[EMAIL PROTECTED]>
> >CC: [EMAIL PROTECTED]
> >Subject: Re: method calls outside the package
> >Date: Wed, 20 Jun 2001 15:53:50 -0400 (EDT)
> >
> >On Jun 20, Nick Transier said:
> >
> > >package b
I tried that, same error. "$perlversion requires explicit package name"
>From: Jeff 'japhy' Pinyan <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: Nick Transier <[EMAIL PROTECTED]>
>CC: [EMAIL PROTECTED]
>Subject: Re: method calls outside the
On Jun 20, Nick Transier said:
>package blah;
>{
>sub foo {
> print "I do not understand perl"
Missing a semicolon above...
> return 5;
>}
>}
>
>Now, how do I call this function from outside the package?
blah::foo() will work.
>$perlversion = blah::->foo;
That works too, but kind