Help for this page

Select Code to Download


  1. or download this
    sub has_method {
        my ( $target, $method ) = @_;
        return UNIVERSAL::can( $target, $method) ? 1 : 0;
    }