Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
why does this gimme errors?
thanks, am
I simply want to highlight the search the term searched on in my sql query. The query works fine by itself, but when i want to map the results I run into problems.while (my @row = map { s/$term/"<i>$term</i>"/ } $sth->fetchrow_ar +ray()){ #do stuff here }
thanks, am
|
---|
Replies are listed 'Best First'. | |
---|---|
(jeffa) Re: map DBI results
by jeffa (Bishop) on Dec 16, 2002 at 15:20 UTC | |
Re: map DBI results
by slife (Scribe) on Dec 16, 2002 at 15:21 UTC | |
Re: map DBI results
by Aristotle (Chancellor) on Dec 16, 2002 at 19:33 UTC | |
Re: map DBI results
by diotalevi (Canon) on Dec 16, 2002 at 15:21 UTC | |
Re: map DBI results
by runrig (Abbot) on Dec 16, 2002 at 19:12 UTC | |
by Aristotle (Chancellor) on Dec 16, 2002 at 20:08 UTC |
Back to
Seekers of Perl Wisdom