in reply to Re: prob w/ gatekeeper subroutine
in thread prob w/ gatekeeper subroutine
Thanks for the response. I will post the hash and the main part of the code that calls the subroutine. Sorry, should have done this in the first place.
$x = (); %userpass = ('john','ball','tim','super','matt','password','dan','nad3 +2'); &entersys; if($x == "pass") { print("Welcome to the system!\n"); } else { print("That user/password is incorrect\n"); }
I use them as global variables and a global hash so that the subroutines permanently change them.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: prob w/ gatekeeper subroutine
by toolic (Bishop) on Sep 29, 2010 at 16:23 UTC | |
|
Re^3: prob w/ gatekeeper subroutine
by rowdog (Curate) on Sep 29, 2010 at 21:58 UTC | |
|
Re^3: prob w/ gatekeeper subroutine
by Anonymous Monk on Sep 29, 2010 at 16:45 UTC |