Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    use strict;
    ...
    my @fields = split $split, $data;
    my @expected = ( 1,2, "${token}0${token}", 4, 5 );
    is_deeply \@fields, \@expected;
    
  2. or download this
    @fields = (
      '1',
      '2,-----0-----,4',
      '5'
    );
    
  3. or download this
    @fields = (
      '1',
      '2',
    ...
      '4',
      '5'
    );