I'm a bit confused too! Please try to pay attention to the placing of your { and }. Indent clearly, make nice blocks of code. It will help you to debug.
It appears by the way that your sub's are 'declared' in the SUBMIT subroutine. I don't think you mean to do that. Move the last } a bit up and place it right after the if statement that calls the &login routine.
In reply to Re: Just between you, me and subroutines
by gargle
in thread Just between you, me and subroutines
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |