Help for this page

Select Code to Download


  1. or download this
    ok True, 'True is, well, True';
    if True {
    ...
    } else {
        flunk('if True works');
    }
    
  2. or download this
    sub s {
        my $str = shift;
        return split /:/, $str;
    }
    
  3. or download this
    is_deeply [s("a:b")], [split /:/, 'a:b'], $msg;
    
  4. or download this
    is_deeply [s("a:b")], [qw(a, b)], $msg;