On Friday, October 25, 2002, at 01:00  PM, Larry Wall wrote:
Not clear how many of these are just universal or near-universal methods.
Which would make some of them list-op variants, if we follow Perl 5 rules...
What's the Official Perl difference between a named unary op and a one-arg universal method? E.g. why are "temp" and "let" both ops but "my, our, hash" are not?

(I also missed 'err', not sure on that one either.)


:      '...'   "..."   `...`   /.../
:        q      qq      qx      qr      qw

I'd still love to the double angles for a qw synonym.
'kay. As an aside, I've always itched for a qlike op that was matrix-like, e.g.

my Pet @list = qm{
fido dog collie
fluffy cat siamese
};

But that's not quite working, because you usually need to pass the attribute names in order for it to be meaningful. Maybe something adverbial like:

my Pet @list = qm{
fido dog collie
fluffy cat siamese
} : << name type breed >>;

or even

my Pet @list = qm : << name type breed >> {
fido dog collie
fluffy cat siamese
};

That's still a lot easier to type than some of the alternatives I've had to do for larger structures.

And I always wished

$=
@=
%=

<$>
<@>
<%>

would do something, too, because they look so pretty. :-D

Anyway, I'll revise and repost the list.

MikeL

Reply via email to