![]() |
|
Perl: the Markov chain saw | |
PerlMonks |
Re: DBI and MySQLby dmmiller2k (Chaplain) |
on Jul 12, 2002 at 14:04 UTC ( #181272=note: print w/replies, xml ) | Need Help?? |
Perhaps this isn't a problem, but it jumped out at me... No one else mentioned this, but it's possible your extra 'where' keyword is also masking a quoting issue. In the following line:
note that the single quotes surrounding $INPUT{'attorney'} and $INPUT{'issue'} conflict with those surrounding the hash keys, 'attorney' and 'issue'. Since hash keys may be bare words, you can circumvent this by removing the single quotes around both 'attorney' and 'issue' (of course getting rid of the extra 'where'):
dmm If you GIVE a man a fish you feed him for a dayBut, TEACH him to fish and you feed him for a lifetime
In Section
Seekers of Perl Wisdom
|
|