Help for this page

Select Code to Download


  1. or download this
    my $method = $$rs{row}{field_name};
    my $rv = $object->$method();
    
  2. or download this
    use List::Util qw( first ); # core since Perl 5.7.3
    my $rv = first { $object->$_() } $$rs{row}{field_name};