(C) 2003, Tim Maher 1-25 www.TeachMePerl.com Command Composer Source Code (Part 3) . . . # Now construct user's command $cmd="ls $format $type" ; . # Show $cmd, for educational value warn "\n to run \"$cmd\"\n" ; . # Wait for input; run unless ^D defined <> or exit ; . system $cmd ;