Help for this page

Select Code to Download


  1. or download this
    foreach (@list) {
        my $coderef = main->can($_);
        &$coderef($_);
    }
    
  2. or download this
    foreach (@list) {
        my $coderef = UNIVERSAL::can('main', $_);
        &$coderef($_);
    }
    
  3. or download this
    foreach (@list) {
        main->$_($_);
    }