Don't ask to ask, just ask | |
PerlMonks |
Re: Stopping bad input (harder than sanitizing)by swl (Parson) |
on Mar 08, 2021 at 07:11 UTC ( [id://11129319]=note: print w/replies, xml ) | Need Help?? |
If $search->get() is returning undef on <RET> then change the condition in the goto line so it avoids an infinite loop. It's probably also useful to autoflush stdout to see the feedback as it is generated, rather than once the buffer is sufficiently full. See https://perldoc.perl.org/perlvar#$%7C.
In Section
Seekers of Perl Wisdom
|
|