Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: map DBI results

by Aristotle (Chancellor)
on Dec 16, 2002 at 19:33 UTC ( [id://220308]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while (my @row = $sth->fetchrow_array()) {
        s!$term!"<i>$term</i>"! for @row;
        # ...
    }
    
  2. or download this
    my $rx = qr/\Q$term/;
    while (my @row = $sth->fetchrow_array()) {
        s!$rx!"<i>$term</i>"! for @row;
        # ...
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://220308]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-04-24 18:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found