|
|
| There's more than one way to do things | |
| PerlMonks |
Re^2: Referencing MySQL Results by Columnby TheBiscuit (Initiate) |
| on May 26, 2010 at 18:32 UTC ( #841781=note: print w/ replies, xml ) | Need Help?? |
|
I apologize for not being clear enough, but this is a Perl question. The script I am trying to modify currently runs a SELECT query with a WHERE statement multiple times within a foreach loop. I would like to run the query once and pull the necessary data from an array instead. Below is the segement of code I'm working with:
In the section noted as "***** Insert Match Here *****, I would like to be able to use the $username value pulled from LDAP and match it to the 'username' value pulled from MySQL to set the phone and email variables. Thanks!
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||