in reply to Using If/Else

In particular, the statement
    sub vamp ;
is a pre-declaration (update: or perhaps with more terminological accuracy, a forward declaration) of a subroutine with a  vamp identifier. As others have pointed out, it does not call the subroutine. (And likewise for the similar statement with wolf.) Please see the SYNOPSIS in perlsub.


Give a man a fish:  <%-{-{-{-<