Re: how to interpolate html entities easily (HOWTO) (full text of Entitize.pm)

2005-04-21 Thread Ken Williams
On Apr 20, 2005, at 11:52 AM, David Nicol wrote: These three lines are too small to bother wrapping up in Entitize.pm and publishing to CPAN, in my opinion. True, but it's not too small to submit as a patch for HTML::Entities. -Ken

Re: how to interpolate html entities easily (HOWTO) (full text of Entitize.pm)

2005-04-21 Thread David Nicol
On 4/21/05, Ken Williams [EMAIL PROTECTED] wrote: True, but it's not too small to submit as a patch for HTML::Entities. -Ken or even a doc-patch for HTML::Entities. I think my political goal here is fame points through getting Tie::Function into wider use. HTML::Entities is widely

Re: how to interpolate html entities easily (HOWTO) (full text of Entitize.pm)

2005-04-21 Thread Sean Quinlan
On Thu, 2005-04-21 at 12:10 -0500, David Nicol wrote: On 4/21/05, Ken Williams [EMAIL PROTECTED] wrote: True, but it's not too small to submit as a patch for HTML::Entities. or even a doc-patch for HTML::Entities. I think this a great idea! It's small enough. If it includes a good

Re: how to interpolate html entities easily (HOWTO) (full text of Entitize.pm)

2005-04-21 Thread Ken Williams
On Apr 21, 2005, at 12:10 PM, David Nicol wrote: $ perl -wc -e 'use strict; the deer and antelope play ; print 1' -e syntax OK % perl -wc -Mstrict -e 'The deer and antelope play until tiger comes; \ chomp, kill, die time' -e syntax OK

Re: check for errors on close()

2005-04-21 Thread Sam Vilain
Eric Wilhelm wrote: Just spent way too much time trying to find a bug when it turns out that I just had a full disk. So, food for thought for today: close() does not always return true. close(FILE) or die file error: $!; In the disk-full case, open() succeeds (if there are still inodes

Re: check for errors on close()

2005-04-21 Thread John Siracusa
On 4/21/05 6:57 PM, A. Pagaltzis wrote: * Eric Wilhelm [EMAIL PROTECTED] [2005-04-21 21:30]: You don't already check the return value of every system call? Yes. But I never check close() (actually, I omit the explicit close() and let scoping on lexical filehandles clean things up) when I

Re: how to interpolate html entities easily (HOWTO) (full text of Entitize.pm)

2005-04-21 Thread Keith Ivey
David Nicol wrote: or even a doc-patch for HTML::Entities. I think my political goal here is fame points through getting Tie::Function into wider use. What is the advantage of Tie::Function over MJD's similar Interpolation.pm? -- Keith C. Ivey [EMAIL PROTECTED] Washington, DC

Re: check for errors on close()

2005-04-21 Thread A. Pagaltzis
* John Siracusa [EMAIL PROTECTED] [2005-04-22 03:30]: So, how long did you manage to go before learning this lesson? Two years? Four? Ten? I never actually encountered it, I read about it. That was about three years ago, about five years into my ongoing Perl journey. I still need to read one