The stupid question is the question not asked | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
print <STDOUT> , "Hello"; #runsThat doesn't do what you think. <STDOUT> reads from the STDOUT filehandle (which won't do anything useful). You can't put a comma between the file-handle and the printable content, the syntax is not short for any other syntax. print HANDLE expression is the normal form. print expression is parsed by perl to mean print LATESTHANDLE expression where LATESTHANDLE is the last handle given to select() (the default is STDOUT). -David In reply to Re^3: Comma's and blocks
by erroneousBollock
|
|