Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    
    my @idx = split /\s+/, $stdout;
    print "$_\n" for @re[@idx];
    
  2. or download this
    my @re = (
      qw/./,
      qw/./,
      qw/.+/,
    );
    
  3. or download this
    in $stderr:
    tsort: -: input contains a loop:
    ...
    tsort: -: input contains a loop:
    tsort: 1
    tsort: 2
    
  4. or download this
    hypothesis:
                      $re1 <= $re2
    ...
    $str =~ /$re1/ and $str !~ /$re2/ -> falsifies hypothesis
    $str !~ /$re1/ and $str =~ /$re2/ -> corroborates hypothesis
    $str !~ /$re1/ and $str !~ /$re2/ -> no consequence