in reply to Re^3: perl equiv to cmd start
in thread perl equiv to cmd start
Hi soonix,
the qq function
I know I'm probably being overly pedantic, but I AFAIK qq and related (q, qw, qx, etc.) aren't functions, they're operators. For example, I can't replace the parens around function arguments with other characters, as I can in qx# echo foo #. I also can't call a function with a syntax like foo(a b c) as I can with qw(a b c). (In fact, for a while now I've explicitly been avoiding parens on qw and friends to disambiguate.)
Regards,
-- Hauke D
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: qq "function" or operator
by soonix (Chancellor) on Jan 18, 2017 at 15:32 UTC | |
by LanX (Saint) on Jan 22, 2017 at 01:51 UTC |