thanks, a

This kind of sucks though.

apparently in perl, if there is a piped input, '-' will show up
automatically in ARGV.  I think I will propose this change to Ruby.