- or download this
#!/usr/bin/perl
{
...
my $y = new bar;
$x->m;
$y->m;
- or download this
replace
foo-baz
foo-baz
- or download this
*m = sub { $self->baz }
- or download this
*m = sub { my $self = shift; $self->baz }
- or download this
$self->{m}->($self,@args);