Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Re: DWIM Part Nineteen: Unary Operators in Void Context

by clemburg (Curate)
on Aug 21, 2001 at 21:31 UTC ( [id://106655]=note: print w/replies, xml ) Need Help??


in reply to Re: DWIM Part Nineteen: Unary Operators in Void Context
in thread DWIM Part Nineteen: Unary Operators in Void Context

I think that what you want is called setf() in Common Lisp. Maybe this could give some implementation ideas?

Christian Lemburg
Brainbench MVP for Perl
http://www.brainbench.com

Replies are listed 'Best First'.
Re: Re: Re: DWIM Part Nineteen: Unary Operators in Void Context
by John M. Dlugosz (Monsignor) on Aug 22, 2001 at 00:22 UTC
    No, I think setf is just plain assignment. The "place" is not special to the "new value" expression.

    I wonder if the "higher level functions" features in Perl 6 can be used to create this. That would be a good test to see if the proposed feature set is powerful enough.

    —John

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-03-28 08:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found