Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Mysql handle not in asynchronous mode

by punkish (Priest)
on Jul 16, 2011 at 02:58 UTC ( #914782=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
            http://app_B/points.json
            http://app_B/polys.json
    
  2. or download this
            http://app_C/polys.json
    
  3. or download this
         $ plackup -E production -s Starman -w 10 -p <port> path/to/respec
    +tive/app.pl
    
  4. or download this
            {"error":"Warning caught during route execution: DBD::mysql::s
    +t 
            fetchall_arrayref failed: fetch() without execute() at <path/t
    +o/app.pm> line 
            79.\n"}
    
  5. or download this
            71> my $sql = qq{
            72>     ..
    ...
            77> my $sth = $dbh->prepare($sql);
            78> $sth->execute();
            79> my $res = $sth->fetchall_arrayref({});
    
  6. or download this
            $DBI_TRACE=2=logs/dbi.log plackup -E production -p 5001 -s Sta
    +rman -w 
    10 -a bin/app.pl
    
  7. or download this
            > Handle is not in asynchronous mode error 2000 recorded: Hand
    +le is 
            > not in asynchronous mode
            >    !! ERROR: 2000 CLEARED by call to fetch method
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://914782]
Approved by Marshall
help
Chatterbox?
shmem doesn't have mp3info, but mp3info2 - which is a perl script ;-)
[marioroy]: my @music_times = qx(find \$HOME/Music/ Albums/ -type f -iname '*.mp3' -exec mp3info -p "%S\\\n" {} \\;);
[marioroy]: might need 2 or 3 backslash for \n. Also \\;
[Lady_Aleena]: shmem, there is MP3::Info/
[Discipulus]: too much complex qx when you know perl are better to avoid
[marioroy]: might need to backslash \'*.mp3\'
[marioroy]: It's a quoting issue inside qx. It's File::Find or qx. LA chooses qx. Almost there.

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (10)
As of 2017-04-23 21:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (432 votes). Check out past polls.