- or download this
sub TIEHASH
{
...
}
return $self;
}
- or download this
sub TIEHASH
{
...
}
return $self;
}
- or download this
package A;
use Moose;
...
my $instance = tie(%ENV, 'BBB');
return $instance;
}
- or download this
my $a = A->new;
print $a->get_node('TERM'), "\n";
- or download this
use v5.14;
...
my $a = A->new;
say $a->get_node('TERM');