2 ## Example from http://en.wikipedia.org/w/index.php?title=Flat_file_database&oldid=209112999
3 ## Default options with column header name deduction
9 use Test
::More tests
=> 2;
10 use DataExtract
::FixedWidth
;
14 my $de = DataExtract
::FixedWidth
->new({
15 cols
=> [qw
/foo bar baz/]
18 like
( $@
, qr/You must.*header_row/, 'cols only');
24 my $de = DataExtract
::FixedWidth
->new;
27 like
( $@
, qr/You must/, 'nothing only');