Help for this page

Select Code to Download


  1. or download this
    my $meth = 'myFunction';
    $obj->$meth(@args);
    
  2. or download this
    my $meth = $obj->can('myFunction');
    $obj->$meth(@args);
    
  3. or download this
    my $meth = sub { $obj->myFunction(@_) };
    
  4. or download this
    $meth->(@args);