Easy enough to do, just allow the user to pass in a subroutine address; jump if it's not NULL, ignore it if it is NULL.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16