in reply to Re: how to find a subroutine exists or not
in thread how to find a subroutine exists or not

eval { rm_min_rf_root() } was_lucky() if $@ =~ /Undefined subroutine/;
;-)