in reply to Re^3: perl grep help!
in thread perl grep help!
to the top of the script i also changed the ? to a real username and password it failed with the following.... DBD::mysql::st execute failed: called with 2 bind variables login.pl line 16. SQL Error: called with 2 bind variables when 0 are needed im guessing this maybe becasue this is where my <STDIN> where meant to go? sorry to keep bombarding you with questions but im really stuck! bogglemaster89 UPDATE- I replaced what I typed with question marks, it runs now, but im not sure what to do to get it to match these passwords and if they dont match through an error.......to the end-user of course not me!print "please enter a username /n"; my $usernameentered = <STDIN>; print "please enter a password /n"; my $passwordentered = <STDIN>;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: perl grep help!
by marto (Cardinal) on Mar 09, 2010 at 18:05 UTC | |
by bogglemaster89 (Novice) on Mar 09, 2010 at 21:05 UTC | |
by marto (Cardinal) on Mar 10, 2010 at 00:19 UTC |