in reply to Re: Perl quiz for beginners
in thread Perl quiz for beginners
If you're asking specifically about the default filehandles, they're all full caps,
If you are talking about STDIN, STDOUT and STDERR then perl has always (AFAIK) supported the lower case versions stdin, stdout and stderr although ARGV, ARGVOUT and DATA have to be upper case.
$ perl -le'print for grep /^std/i, %::' stderr stdout stdin STDOUT STDERR STDIN $ perl -v This is perl, v5.10.1 (*) built for i486-linux-gnu-thread-multi Copyright 1987-2009, Larry Wall
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Perl quiz for beginners
by davido (Cardinal) on Sep 09, 2011 at 09:10 UTC |