On Tue, 2008-04-08 at 13:12 -0400, Mr. Shawn H. Corey wrote:
> If, on the other hand, FOO::BAR has:
> 
> our $sub1 = \&foo;
> 
> sub foo {
>   ...
> }
> 
> To access it:
> 
>   $var1 = &( $FOO::BAR::sub1 )();

Oops, that should be:

  $var1 = &{ $FOO::BAR::sub1 }();


-- 
Just my 0.00000002 million dollars worth,
    Shawn

99% of you are just big dumb apes!

+------------\
| Shangri La   \
| 40,000 KM     /
+------------/


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to