- or download this
local $_;
do {
do {
...
chomp( $_= <STDIN> );
} until( /\S/ );
} until( 'FALSE' eq cmd_select( split ' ' ) );
- or download this
local $_;
do {
print "> ";
chomp( $_= <STDIN> );
} until( /\S/ && 'FALSE' eq cmd_select( split ' ' ) );
- or download this
local $_;
do {
do {
...
chomp( $_ );
} until( /\S/ );
} until( 'FALSE' eq cmd_select( split ' ' ) );
- or download this
lots of work to get next thing;
# possibly giving up for any of several reasons
goto TOP if thing isn't interesting;
...
}
finish up;
return result;
- or download this
sub get_next_interesting_thing {
do {
return if ! get_next_thing;
...
} while( get_next_valid_thing );
finish up;
return result;