Help for this page

Select Code to Download


  1. or download this
    my $sub_i_want_to_call = $ary[rand @ary];
    my $sub_ref = __PACKAGE__->can( $sub_i_want_to_call );
    $sub_ref->();
    
  2. or download this
    __PACKAGE__->can( $ary[rand @ary] )->();