1N/A chdir 't' if -d 't'; 1N/A # this skips tests AND prevents the "used only once" warning 1N/A skip('No stty, Term::Complete will not run here', 7) 1N/A # also prevent Term::Complete from running stty and messing up the terminal 1N/A my @words = ( 'frobnitz', 'frobozz', 'frostychocolatemilkshakes' ); 1N/A # there should be an \a after our word 1N/A # now remove the \a -- there should be only one 1N/A # 'fro' should match all three words 1N/A # should only find 'frobnitz' and 'frobozz' 1N/A # should only do 'frobozz' 1N/A # change the completion character 1N/A # now remove the prompt and we should be okay 1N/A} # end of SKIP, end of tests 1N/A# easier than matching space characters 1N/A# remove the bell character 1N/A# must shift off self