On Sat, Feb 19, 2005 at 01:43:57PM -0800, Ashley Winters wrote:
> Instead of primary sigils, what about secondary sigils on an array to
> mark it as an unordered set?
>
> @|foo = any
> @&foo = all
> @^foo = one # can arrays be curried arguments? hmm
> @!foo = none
>
> After all, why should scalars get all the good secondary sigils? :)
Just noting that secondary sigils aren't limited to scalars:
@*biglist = 1... ; # global @::*::biglist
has %.dictionary; # public attribute
has @:children; # private attribute
say @?BLOCK; # which blocks am I in?
{ sort @^list; } # placeholder array
%=POD{'DATA'} # filehandle for =begin DATA stream
Pm