Help for this page

Select Code to Download


  1. or download this
    my $iter = (@ARGV || -t STDIN) ? sub { shift @ARGV } : sub { <STDIN> }
    +;
    while (defined(my $in = $iter->())) {
    }