Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 browsing the Monastery: (4)
As of 2014-09-20 22:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (163 votes), past polls