Help for this page

Select Code to Download


  1. or download this
    $_ =~ s/^&(\w+)([\(\)]*)/$1()/;
    
  2. or download this
    &foobar("asdf") # will only match &foobar(
    
  3. or download this
    s/^(&\w+)\(?((?:(?!;).)*)\)?;/$1($2);/
    
  4. or download this
    &foobar("a", 5, qw(dave jen anne matt), map({tr/[a-z]/[A-Z]/; $_;} @mi
    +xedCase));