Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: [OT] Perl / Computer Science Science Fair Projects

by Anonymous Monk
on Sep 09, 2008 at 16:40 UTC ( [id://710141]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for (var i = 0; i < some_array.length; i++) {
      // Declaring this in the loop creates a one variable for
    ...
      });
    }
    // All closures now point at the last element.
    
  2. or download this
    for (var i = 0; i < some_array.length; i++) {
      // Declaring this in the loop creates a one variable for
    ...
        return x;
      });
    } // now works as expected
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-03-29 01:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found