INET connector
[scpubgit/Object-Remote.git] / lib / Object / Remote / GlobContainer.pm
CommitLineData
ed5a8a8e 1package Object::Remote::GlobContainer;
2use Moo;
3use FileHandle;
4
5has _handle => (is => 'ro', required => 1, init_arg => 'handle');
6
7sub AUTOLOAD {
8 my ($self, @args) = @_;
9 (my $method) = our $AUTOLOAD =~ m{::([^:]+)$};
10 return if $method eq 'DESTROY';
11 return $self->_handle->$method(@args);
12}
13
141;