prompt>perl term-readline001.pl Please enter a pattern:*.jpg there are 23 different possibilities. choose> # TAB TAB display all possibilities apod20100415.jpg cat.jpg city.jpg earth.jpg file.jpg file0.jpg file3.jpg file4.jpg file5.jpg file6.jpg file7.jpg file8.jpg flowers.jpg hacking-team-011509362-ff2f66c6-e452-4109-8bfb-6d4499c2bd5e.jpg kawasaki.jpg kid.jpg mandelbrot_set_color_zoom_by_zeno333-d4va5l8.jpg moon.jpg PICT0034.JPG romantic.jpg serfandolweb.jpg sunrise.jpg umbrella.jpg # if i press just ENTER nothing happens choose> choose> choose> choose> choose>file # i press 'f' and after TAB: it display all 'file*' files file.jpg file0.jpg file3.jpg file4.jpg file5.jpg file6.jpg file7.jpg file8.jpg choose>file4.jpg # i enter '4' and TAB completes into the only one matching You choosen [file4.jpg ] # done! the program exit prompt>