Help for this page

Select Code to Download


  1. or download this
    sub foo(&@)
    {
    ...
    
        # whatever ...
    }
    
  2. or download this
    foo {$_ =~ /foo/} $a, $b, $c;
    
  3. or download this
    foo({$_ =~ /foo/} $a, $b, $c);
    
  4. or download this
    my @x = grep({$_ =~ /foo/} @list);