2011年8月8日 - In Perl the following code will read from file specified on command line args or from stdin? while () { print($_); }. This is very convenient.
stackoverflow.com