File: 06_coder_class.t

package info (click to toggle)
libtext-csv-encoded-perl 0.25-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 288 kB
  • sloc: perl: 434; makefile: 2
file content (15 lines) | stat: -rw-r--r-- 305 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

use strict;
use Text::CSV::Encoded;

my $csv  = Text::CSV::Encoded->new(  );

is( $csv->coder_class, 'Text::CSV::Encoded::Coder::Encode' );

$csv  = Text::CSV::Encoded->new( { coder_class => 'Text::CSV::Encoded::Coder::Base' } );

is( $csv->coder_class, 'Text::CSV::Encoded::Coder::Base' );

1;

__END__