On Sat, Jun 10, 2017 at 2:38 AM, Brent Laabs <bsla...@gmail.com> wrote:

> I thought:
> $ is Scalar
> @ is Array
> % is Hash
> & is a function
>

Pedantically:

$ forces item context, but otherwise allows any type (defaulting to
Scalar); the item context gets you "scalar" behavior in most cases even
with non-scalars
@ forces a Positional constraint (which defaults to Array)
% forces an Associative constraint (which defaults to Hash)
& forces a Callable constraint (no default, I think)

-- 
brandon s allbery kf8nh                               sine nomine associates
allber...@gmail.com                                  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net

Reply via email to