in reply to Reaped: Re^2: continuously query
in thread continuously query
Your code is nowhere near close to working. It appears that you are trying to look up order numbers in a DB and then get a JSON doc related to that order? It is unclear what you do after that. next if ($status ne 'NOT-GOOD') { looks like confusing nonsense. my $ordernumber = $query->fetchrow_array() is wrong. Look at fetchrow_array for the specification of what that method does. Some basic debugging is expected when you post code. print "$ordernumber\n"; before my $url = "link.com/$ordernumber"; would have shown you something important.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: continuously query
by marto (Cardinal) on Dec 21, 2020 at 18:56 UTC | |
|
Re^4: continuously query
by bigup401 (Pilgrim) on Dec 21, 2020 at 22:08 UTC | |
by GrandFather (Saint) on Dec 21, 2020 at 22:35 UTC | |
|