in reply to Re^2: Use a module only if it is in use
in thread Use a module only if it is in use

exists returns true if the sub is declared, whether it's been defined or not.

defined returns true if the sub is defined.

sub foo; # exists but not defined sub bar {} # exists and defined