while ( chomp( my $opt = ) ) { &{ $options{ $opt } || $options{ '' } }() or last; }