- 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;
- or download this
@fields = (
'1',
'2,-----0-----,4',
'5'
);
- or download this
@fields = (
'1',
'2',
...
'4',
'5'
);