fetchrow_array returns an ARRAY, and you must extract the element from that, even for the case where there is a single element.while ( my @order_fields= $query->fetchrow_array() ) { my $ordernumber = $order_fields[0] or die "Error: Expected a non-ze +ro order number" ; my $url = "link.com/$ordernumber"; ... }
"Imaginary friends are a sign of a mental disorder if they cause distress, including antisocial behavior. Religion frequently meets that description"
In reply to Re: continuously query
by NetWallah
in thread continuously query
by bigup401
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |