2017/09/11

Copy subroutines in Perl

no strict 'refs';
*{ $self . '::sub' } = \&{ $class . '::sub' };

No comments:

Post a Comment