Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^4: SVN::Client subclassing issue

by Anonymous Monk
on Sep 27, 2011 at 20:21 UTC ( #928174=note: print w/ replies, xml ) Need Help??


in reply to Re^3: SVN::Client subclassing issue
in thread SVN::Client subclassing issue

See AUTOLOAD section of Modern Perl: the free book, and mind the caveats

Assuming hashref has-a 'SVN::Client'

sub AUTOLOAD { my ($name) = our $AUTOLOAD =~ /::(\w+)$/; my $method = sub { my $self = shift; return $self->{'SVN::Client'}->$name( @_ ); } no strict 'refs'; *{ $AUTOLOAD } = $method; return $method->( @_ ); }

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://928174]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2016-07-01 03:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (405 votes). Check out past polls.