Help for this page

Select Code to Download


  1. or download this
    use mro;
    
    ...
    
       return undef;
    }
    
  2. or download this
    use strict;
    use warnings;
    ...
    print(find_implementor('Bar', 'm2' ) // "[undef]", "\n");  # Foo
    print(find_implementor('Bar', 'a'  ) // "[undef]", "\n");  # [undef]
    print(find_implementor('Bar', 'isa') // "[undef]", "\n");  # UNIVERSAL