Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^5: (almost) foldl

by dk (Chaplain)
on Jun 10, 2011 at 07:41 UTC ( #909061=note: print w/replies, xml ) Need Help??


in reply to Re^4: (almost) foldl
in thread (almost) foldl

agree, $^SUB is what we are missing ... can we steal it from perl6 ? :)

Replies are listed 'Best First'.
Re^6: (almost) foldl
by TimToady (Parson) on Jun 10, 2011 at 23:29 UTC
    Well, if you're gonna borrow a bit of Perl 6, how about borrowing all of it:
    [+] @list
    I'm assuming, of course, that translation to Perl 6 can be considered a form of obfuscation... :)
Re^6: (almost) foldl
by BrowserUk (Patriarch) on Jun 10, 2011 at 08:04 UTC

    Looking at perlvar, I guess it might have to be ${^SUB} to fit with the latest Perl5 naming conventions.


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2022-08-15 06:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?