ב''ה
Perhaps I am awestruck by this feature of perl because the 4gl language that I usually develop in has nothing like this. This is the first time I am seeing this feature in any language, although I think VB might also have it...
At any rate, assigning to a function (or to what comes back from a function call) seems to be in line with treating functions as first class citizens. Stand up for their rights people. Let them vote!
substr($foostring, 5, 3) = "foobarfoobar"
Saturday, November 28, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment