$ARGS = @ARGV; if ( -t and $ARGS eq 0 ) { } #### die "No input found\n" if ( -t and @ARGV == 0 ); #### $names++, shift if $ARGV[0] eq "-l"; #### @ARGV = "-" unless @ARGV; #### exit 0 unless ( grep { -T or $_ eq "-" } @ARGV );