P is for Practical | |
PerlMonks |
Re^5: continuously queryby GrandFather (Saint) |
on Dec 21, 2020 at 22:35 UTC ( [id://11125583]=note: print w/replies, xml ) | Need Help?? |
Are you sure redo is what you want? It repeats the loop without changing $r. As it stands your loop will only ever process the first row you read from the database and will never exit. Why are you not using strictures (use strict; use warnings; - see The strictures, according to Seuss).
Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond
In Section
Seekers of Perl Wisdom
|
|