Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: ${Schwartzian transform} ?

by liz (Monsignor)
on Sep 19, 2003 at 09:48 UTC ( #292620=note: print w/replies, xml ) Need Help??


in reply to ${Schwartzian transform} ?

Contemplating it a little bit more myself the past days, I came up with the following reasons:
Simplicity
The way it's written by merlyn is simpler to understand. It is in fact pseudo-code, not real code.

Already an object
The input may already consist of a reference or an object: no need to take a further reference in that case.

Alias / Copy On Write
Perl shouldn't have to copy the contents of $_. You could consider it a bug that it does so now. I'm pretty sure this innefficiency won't exist in Perl 6.

Liz

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://292620]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2017-07-23 13:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (347 votes). Check out past polls.