Jonathan Scott Duff skribis 2006-09-15 16:50 (-0500): > > > To which I already responded with 5: To write any prefix op as > > > postfix, you should put it in quotes, which gives us .'-e' and .'@' > > > and the like. (And also giving us a general way of isolating the > > > method name from the .* variants, not to mention generating method > > > names by interpolation without needing a temp variable.) > > Ugly, hard to type, not a solution for -e, weird syntax. > How is it not a solution for -e ? I thought it a perfectly good response > to the problem. And, in fact, it solves a more general problem than just > the -X ops.
It's a solution for some of the -e problems, not all. It doesn't fix that unary minus needs whitespace to be used with certain identifiers for functions. Also, it doesn't fix the shorthand syntax for testing -e on $_ at all, because .'-e' is no better than -e($_). Well, okay, 1 character, but it costs a lot of grokability. -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> convolution: ict solutions and consultancy <[EMAIL PROTECTED]>