Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Perl quiz for beginners

by jwkrahn (Abbot)
on Sep 09, 2011 at 09:07 UTC ( [id://925036]=note: print w/replies, xml ) Need Help??


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

    Does it support Stdin, Stdout, and Stderr? Because that's how the answers were worded: In ucfirst format. (And if it does, then holy cow, I'm still a beginner!)


    Dave

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://925036]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-24 18:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found