drock has asked for the wisdom of the Perl Monks concerning the following question:
perldoc -f print
ok in perldoc print it states:
If FILEHANDLE is a variable and the next token is a term, it may me
intrepreted as an operator unless you interpose a "+" .
so in the code :
FOO is my filehandle and it is considered a variable meaning $_ right? so the next token a term, would be what? print split or 2 ??? a term meaning a unary term? and what exactly does interpose mean? thanks derekwhile (<FOO>) { ....code ...code print +(split)[2], $, ; }
Edit by BazB: retitle from "print".
Back to
Seekers of Perl Wisdom