Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

t'mo's scratchpad

by t'mo (Pilgrim)
on Jun 02, 2004 at 00:20 UTC ( #358889=scratchpad: print w/replies, xml ) Need Help??

Recently on my brain: the Inside-Out object implementation - see http://www.perlmonks.org/index.pl?node_id=219924 and Abagail's node (referenced there).

How to Perl-i-fy your JavaScript: Use regular expressions. Use JavaScript's Objects as hashes. Call pop and push (or shift and unshift) on JavaScript's Arrays. Create JavaScript functions that implement Perl's map, grep, and foreach (you might want to implement foreach first), then extend these to implement keys and values. Use eval.

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2018-01-21 12:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (228 votes). Check out past polls.

    Notices?