Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: checking mysql rows continuously

by LanX (Cardinal)
on Dec 08, 2020 at 11:49 UTC ( #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
Node Status?
node history
Node Type: note [id://11124824]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (10)
As of 2021-04-12 12:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?