in reply to Just between you, me and subroutines

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.

  • Comment on Re: Just between you, me and subroutines

Replies are listed 'Best First'.
Re^2: Just between you, me and subroutines
by Anonymous Monk on Aug 26, 2005 at 20:46 UTC

    Sorry about the sloppy code. I am a bit new at this

    When I move the last } up to where you specified, it errors out and says that "get" on line 76 is an undefined value.