- or download this
use Object::Import $object;
foo(@bar); # now means $object->foo(@bar);
- or download this
{
my $object = Foo::Bar->new();
import Object::Import $object; # Make all methods of $object avail
+able as functions
}
- or download this
#!perl
use strict;
use warnings;
...
frobnitz in Foo::Whatever
frobnitz in Foo::Bar
frobnitz in Foo::Whatever