redo works inside loops. An if isn't a loop. Wrap the whole thing in something along the lines of:
while( 1 ) { ## prompt user if( $whatever eq 'done' ) { last; } if( $whatever eq 'try again' ) { next; } ## deal with other cases }
In reply to Re: using redo in an if/else statement
by Fletch
in thread using redo in an if/else statement
by Bismark
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |