Help for this page

Select Code to Download


  1. or download this
    
    use strict;
    ...
    
    !!1;
    
  2. or download this
    
    use strict;
    ...
    is_deeply splitF_test("", "ab");
    is_deeply splitF_test(";", "a;b");
    
  3. or download this
    if (   $field_start == $field_end
                && $sep_aref
    ...
                info('SKIP intermediate field+separator, both are empty');
                next;
            }
    
  4. or download this
    # while ( my $rv = $$str_ref =~ m{$pat_re}gc ) { does not work
    # but this works:
    my $str = $$str_ref;
    while ( my $rv = $str =~ m{$pat_re}gc ) {