Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Re: Re: Re: Isn't that nice?

by TimToady (Parson)
on Aug 30, 2002 at 22:38 UTC ( #194269=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: Re: Isn't that nice?
in thread Isn't that nice?

Probably more like:

my &half := &divide.assuming( $y => 2 )
But that's the general idea.

Larry


Comment on Re: Re: Re: Re: Isn't that nice?
Download Code
Re: Re: Re: Re: Re: Isn't that nice?
by BrowserUk (Pope) on Aug 31, 2002 at 02:38 UTC

    Apart from being substantially prettier, is this functionally or efficiently different from

    my $half = sub { $_[1]=2; goto ÷ }; print $half->( 120 ),$/; __END__ 60
    ?
    Well It's better than the Abottoire, but Yorkshire!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://194269]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (8)
As of 2015-07-06 07:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (70 votes), past polls