Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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


Comment on Re: ${Schwartzian transform} ?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (15)
As of 2014-07-28 15:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (204 votes), past polls