Help for this page

Select Code to Download


  1. or download this
    grep { print scalar (@params = /^\s*(?:(?:public|private|protected)\s+
    +)?\w+\s+\w+\s*\(([^,]+)(\,[^,]+)*\)/g);} <>;
    
  2. or download this
    perl test.pl FILENAME
    
  3. or download this
    grep {
        print scalar # print the number of items matched
    ...
                         # use them
                        /gxms);
    } <>; # read from keyboard or the file(s) provided on command line