Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use List::Util;
    my $reduced = List::Util::reduce { $a + $b } 1, 2, 3, 4;
    print "$reduced\n";
    ()=sort{;}();
    
  2. or download this
    my $pkg = caller;
    eval qq[ package $pkg; our \$a; our \$b; ];