use strict; use warnings; use Test::More 'no_plan'; use Data::Dumper; BEGIN { use_ok("App::RecordStream::Operation::xform"); } BEGIN { use_ok("App::RecordStream::Operation::fromcsv"); } use App::RecordStream::Record; use App::RecordStream::Test::OperationHelper; my $output = <do_match( 'xform', ['$foo=""', 'tests/files/testFile2', 'tests/files/testFile3', '--filename-key', 'fn'], '', $output, ); SKIP: { skip "Text::CSV_PP doesn't currently handle embedded newlines + allow_loose_quotes (i.e. recs-fromcsv without --strict option)" => 1 unless $INC{'Text/CSV_XS.pm'}; $output = <do_match( 'fromcsv', ['tests/files/data.csv', 'tests/files/data2.csv', '--filename-key', 'fn'], '', $output, ); }