Help for this page

Select Code to Download


  1. or download this
    if (*package::foo{CODE}) {
        # Function package::foo exists.
    } else {
        # Function package::foo does not exist.
    }
    
  2. or download this
    my $function = "package::foo";
    {
    ...
            # Function in $function does not exist.
        }
    }