Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    append_method("Dummy::test", "post_test");
    sub post_test { print "two\n"; }
    Dummy::test;
    
  2. or download this
    one
    Undefined subroutine &Class::AppendMethods::post_test called at /home/
    +matt/Class/AppendMethods.pm line 43.
    
  3. or download this
    append_method("Dummy::test", "main::post_test");
    
  4. or download this
    append_method("Dummy::test", \&post_test);