Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: checking mysql rows continuously

by LanX (Saint)
on Dec 08, 2020 at 11:49 UTC ( [id://11124824]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $query = $dbh->prepare("SELECT * FROM items ORDER BY created ASC");
    +   
    
    ...
        next if $h_fields->{status} eq 'no';                # not needed w
    +ith WHERE clause
        ...
    }
    
  2. or download this
    $ary_ref = $sth->fetchrow_arrayref;
    $ary_ref = $sth->fetch;    # alias
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2024-04-24 00:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found