Re: Musings on operator overloading (was: File-Fu overloading)

2008-02-24 Thread Andy Armstrong
$h = HTML::Tiny->new(); $h->body($h->head($h->title('FooPage')), $h->body(...)); I'd love to be able to drop the '$h->' everywhere. Like this: $h->body( head( title( 'FooPage' ) ), body( ... ) ); I guess that would/could be a related mechanism. -- Andy Armstrong, Hexten

Re: What is the origin of the nickname, "Texas quotes"?

2007-12-07 Thread Andy Armstrong
On 7 Dec 2007, at 23:19, Chas. Owens wrote: That is my take on it: "Everything is bigger in Texas", even French Quotes. You know, from a complete outsider's perspective, I really prefer the Paris, Texas explanation :) -- Andy Armstrong, Hexten

Re: Pair notation for number radix

2007-12-04 Thread Andy Armstrong
On 4 Dec 2007, at 16:19, Andy Armstrong wrote: my $amp = '&'; # No unit, plain text my $body = "$amp"html; # gets & Per http://search.cpan.org/~andya/String-Smart/ I should say. -- Andy Armstrong, Hexten

Re: Pair notation for number radix

2007-12-04 Thread Andy Armstrong
olating plain text into a string that has the unit 'html' would force a (user defined) html upgrade on the interpolated text. On the other hand my $amp = '&'html; my $body = "$amp"html; # gets & -- Andy Armstrong, Hexten

Re: xml and perl 6

2007-11-28 Thread Andy Armstrong
On 28 Nov 2007, at 18:28, James Fuller wrote: A few things I could imagine; native XML data type (and whatever that means at this late stage) What might that mean at any stage? -- Andy Armstrong, Hexten

Re: x, xx, and negative counts

2007-05-29 Thread Andy Armstrong
r than adding some other potentially useful functionality? You're going to surprise people who use x to create padding strings if a negative count produces a padding string of the same length. -- Andy Armstrong, hexten.net

Re: Is Perl 6 too late?

2007-05-14 Thread Andy Armstrong
On 14 May 2007, at 12:31, Thomas Wittek wrote: How did C, C#, Java, Ruby, Python, Lua, JavaScript, Visual Basic, etc. know? They didn't. If there is a new release, you always have to check if your code still runs. I think that may be the point I'm making. -- Andy Armstrong, hexten.net

Re: Is Perl 6 too late?

2007-05-14 Thread Andy Armstrong
in the future so you could avoid them all? -- Andy Armstrong, hexten.net

Re: Enhanced enumerations

2007-03-19 Thread Andy Armstrong
is all :) -- Andy Armstrong, hexten.net

Re: for ... else

2007-03-04 Thread Andy Armstrong
at or a close variation of it was a pretty common idiom. -- Andy Armstrong, hexten.net

Re: "Don't tell me what I can't do!"

2006-10-02 Thread Andy Armstrong
The security angle is that it prevents the creation of subclasses that can circumvent security restrictions in the base class. I wonder if some of the debate here was informed by the perception that 'final' is a valuable feature in Java whereas actually it's a hacky bodge to solve a couple of language design problems? -- Andy Armstrong, hexten.net

Re: renaming "grep" to "where"

2006-09-20 Thread Andy Armstrong
On 20 Sep 2006, at 19:05, Larry Wall wrote: Let it be. :) I could just as easily have called for a revolution :) -- Andy Armstrong, hexten.net

Re: renaming "grep" to "where"

2006-09-20 Thread Andy Armstrong
onnotation - but 'grep' has the benefit that it also has an existing perl connotation. -- Andy Armstrong, hexten.net