The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

# This is a temporary throwaway class.
# The real one will use the metamodel.

package PIL::Run::Type::Macro;
@ISA=qw(PIL::Run::Type::Object);

sub new {
    my($class,$f)=@_;
    bless {raw_sub => $f}, $class;
}

sub do {
    my($o,@args)=@_;
    $o->{'raw_sub'}(@args);
}

1;
__END__