Subject: | Please add support for <DATA> |
It would be great if this program were to work:
#!/usr/bin/perl -wT
use strict;
use warnings;
use diagnostics;
use Text::xSV::Slurp;
my $t = xsv_slurp(
shape => 'aoh',
text_csv => { sep_char => '!' },
string => <DATA>,
);
foreach (@{$t}) {
print $_->{name};
print "\n";
}
__END__
f1!f2!f3
v1!v2!v3
w1!w2!w3