Help for this page

Select Code to Download


  1. or download this
    $invocant->$method_name( @args )
    
  2. or download this
    ($module.'::'.$function_name)->( @args )     # Perl 5.6+
    
  3. or download this
    &{ $module.'::'.$function_name }( @args )
    
  4. or download this
    my $ref = do {
       no strict qw( refs );
       \&{ $module.'::'.$function_name }
    };
    $ref->( @args )
    
  5. or download this
    my $ref = \&{ $module.'::'.$function_name };
    $ref->( @args )
    
  6. or download this
    ( \&{ $module.'::'.$function_name } )->( @args )