3 package Object::Remote::GlobProxy;
5 our @ISA = qw( Tie::Handle );
8 my ($class, $glob_container) = @_;
9 return bless { container => $glob_container }, $class;
13 [READLINE => sub { wantarray ? $_[0]->getlines : $_[0]->getline }],
14 (map { [uc($_), lc($_)] } qw(
29 for my $delegation (@_delegate) {
30 my ($from, $to) = @$delegation;
32 *{join '::', __PACKAGE__, $from} = sub {
33 $_[0]->{container}->$to(@_[1 .. $#_]);