Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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

Replies are listed 'Best First'.
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?
[tye]: though, really, I just replace with single calls to clock_gettime( CLOCK_PROCESS_CPUT IME_ID)

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2017-02-23 03:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (338 votes). Check out past polls.