develooper Front page | perl.perl5.porters | Postings from July 2001

Re: [PATCH for discussion] clamp, round #2

Thread Previous
Jeremy Zawodny
July 29, 2001 22:10
Re: [PATCH for discussion] clamp, round #2
Message ID:
On Sat, Jul 28, 2001 at 10:00:23PM -0700, Jeffrey Friedl wrote:
> The functionality is exported by Readonly.xs, and provided to the
> user via


> Again, my implementation of the latter is just an example.  (Its
> docs are near the head of the patch, for easy perusal).


For those of us who really liked the initial clamp()/unclamp() syntax
you proposed, I'd love to see some exported routines from the module
with names like that.  This would make it feel like in some
respects--a nice add-on that requires little extra typing after I use
the module.

I'd argue that they should be exported by default, but could be
convinced otherwise.  And there's certain to be discussion about which
routines would be in the default list and which would have to be
requested.  But I'm a big fan of the original "[un]lock the keys in
this hash" utility of it.

Jeremy D. Zawodny                Web Geek, Perl Hacker, Yahoo!

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About