You have a old perl, change
to0 <= $pick <= @choices or $pick = 0;
0 <= $pick && $pick <= @choices or $pick = 0;
In reply to Re^7: Immediately writing the results of search-and-replace
by tybalt89
in thread Immediately writing the results of search-and-replace
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |