Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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?
[marioroy]: At the Fransiscan monastery, got stuck up high in a tree from pruning and the chainsaw with large branch fell and broke the latter, but not me fortunately. Was stuck there for a while until a firetruck came by.
[Corion]: marioroy: So you live dangerously ...
[Lady_Aleena]: s/latter/ladder/; # ? marioroy
[karlgoethebier]: marioroy: Praise the Lord
[marioroy]: Well, that's why there must be angels around, invisible or not.
[marioroy]: Lady_Aleena yes, ladder.
[marioroy]: Corion, no not intentionally. not at all.
[Lady_Aleena]: /ne tries to decide whther or not to take a hammer to hubby's alarm clock.
[Lady_Aleena]: He never hears it.
[marioroy]: Back in HighSchool, I came late to Gym class. There was a fellow who was picked last, no team wanted him for racketball. So it was us two against everybody. I looked at him in the eye and said to let your body loose and let the powers to be help us win.

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (11)
As of 2017-05-29 08:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?