print SPECIAL_ARG ordinary_arg_list, with_commas;
This is the only unusual construction that you need to get used to early on. Otherwise arguments are separated by commas.
The syntax may be a little unusual, mostly because it's not used much except with print and printf, but it isn't unique to those functions. It's just the indirect object syntax, new Foo, frobnicate $foo "bar", etc. It's covered in perlobj, and it is generally to be avoided except with builtins.
In reply to Re: Re: Subroutine Bewilderment
by Somni
in thread Subroutine Bewilderment
by dimar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |