First, Damian explains that colon is used to mark the indirect object for print: print $filehandle : $text_to_print; Later, Damian explains that colon is used to mark the adverb for a function: print sum @numbers_to_sum : $filter; In the first case, the syntax is function indirect-object : direct-object, and in the second case function direct-object : adverb. How is this apparent ambiguity resolved?
In reply to Re: Apocalypse 3
by chipmunk
in thread Apocalypse 3
by Masem
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |