Help for this page

Select Code to Download


  1. or download this
    # do the magic and split into functions
    @functions = split /(?=\bfunction\s)/, $data;
    
  2. or download this
    @functions = split /(?=\n\s*function\s)/, $data;