Help for this page

Select Code to Download


  1. or download this
    use MyModule qw(MyFunction);
    BEGIN {
        my $subref = \&MyFunction; # already imported
        *{__PACKAGE__.'::MyFunction'} = sub { $subref->('HelloWord', @_) }
    +;
    }