 |
|
Home:
Perl Programming Help:
DBI:
Re: [brosskgm] Perl MySQL help with code.:
Edit Log
|
|

FishMonger
Veteran
Feb 27, 2013, 1:46 PM
Views: 628
|
|
Re: [brosskgm] Perl MySQL help with code.
|
|
|
That's part of the reason I said that you shouldn't be comparing those 2 vars. Just check $username. An undefined var checked in scalar context like this returns true or false. If you want it more verbose, you could write it as: EDIT: The db code I reference a few posts back was not the one I actually wanted. I just scrolled to the wrong post when searching for the version I meant to refer to..
(This post was edited by FishMonger on Feb 27, 2013, 1:55 PM)
|
|
|
Edit Log:
|
|
Post edited by FishMonger
(Veteran) on Feb 27, 2013, 1:47 PM
|
|
Post edited by FishMonger
(Veteran) on Feb 27, 2013, 1:55 PM
|
|
|  |