develooper Front page | perl.fwp | Postings from December 2001

RE: The Santa Claus Golf Apocalypse

Thread Previous | Thread Next
From:
Richard_Cox
Date:
December 5, 2001 07:03
Subject:
RE: The Santa Claus Golf Apocalypse
Message ID:
5D0C92E65C29D311A24D0090273C2168036929A1@BRKXMTCH02_b
On 5 December 2001 14:49, abigail@foad.org [mailto:abigail@foad.org] wrote:
> On Wed, Dec 05, 2001 at 08:37:49AM -0600, Richard_Cox@Dell.com wrote:
> > 
> > With fixes for Win2k's command shell, it does indeed work...
> > 
> > perl -e "*{''} = sub {13}; print &{''}"
> > 
> > The real question is of course, is this any use apart from 
> obfustication
> > (clearly not for golf with such a long name)?
> 
> 
> About as much use as &{"asdfu()132^^7q230"}.
> 
> But noone ever questions the use of &{"asdfu()132^^7q230"}. Why should
> &{""} need any special justification?
> 

While (almost) no one would consider using &{"asdfu()132^^7q230"}, there is
a perverse delight in having a function of zero-length name, which isn't
anonymous...



Richard Cox 
Senior Software Developer 
Dell Technology Online 
All opinions and statements mine and do not in any way (unless expressly
stated) imply anything at all on behalf of my employer


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About