Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: How do I match/extract a function from a JavaScript file?

by Shakya (Initiate)
on Sep 30, 2007 at 17:35 UTC ( #641792=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
      if (d) { e++; } else { f = g + h; }
      print "ho";
    } 
    
  2. or download this
    Matched :
    foo (a, b, c) {
       if (c) { a++; } else { b--; }
       print "hi";
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://641792]
help
Chatterbox?
[stevieb]: je ne pas parles en Francais, but I prefer a vape, not a pipe ;)
[RonW]: shmem++ # too dumb to debug it

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2017-03-28 22:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (342 votes). Check out past polls.