in reply to No arguments or filenames
usage() unless @ARGV; ... sub usage() { #print out program usage info, flags, etc #then exit() } [download]