http://www.perlmonks.org?node_id=544654


in reply to how to find a subroutine exists or not

Hi

Try this one.

print "Exists\n" if exists &subroutine; print "Defined\n" if defined &subroutine;

Thanks