Help for this page

Select Code to Download


  1. or download this
    if (my $coderef = __PACKAGE__->can("test")) {
        $coderef->();
    }
    
  2. or download this
    if (__PACKAGE__->can("test")) {
        test();
    }
    
  3. or download this
    if (main->can("test")) {
        test();
    }