File: README.pod

package info (click to toggle)
libtext-csv-encoded-perl 0.25-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 288 kB
  • ctags: 47
  • sloc: perl: 434; makefile: 2
file content (70 lines) | stat: -rw-r--r-- 1,489 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
=pod

=head1 NAME

Text::CSV::Encoded - Encoding aware Text::CSV.

=head1 SYNOPSIS

    # Here in Perl 5.8 or later
    $csv = Text::CSV::Encoded->new ({
        encoding_in  => "iso-8859-1", # the encoding comes into   Perl
        encoding_out => "cp1252",     # the encoding comes out of Perl
    });

    # parsing CSV is regarded as input
    $csv->parse( $line );      # $line is a iso-8859-1 encoded string
    @columns = $csv->fields(); # they are unicode data

=head1 DESCRIPTION

This module inherits L<Text::CSV> and is aware of input/output encodings.

=head1 INSTALLATION 

This module sources are hosted on github 
https://github.com/singingfish/Text-CSV-Encoded 
and uses C<Dist::Zilla> to generate the distribution. It can be 
istalled:

=over

=item directly

 cpanm https://github.com/singingfish/Text-CSV-Encoded.git

=item from CPAN

 cpan Text::CSV::Encoded
 cpanm https://github.com/singingfish/Text-CSV-Encoded

=item maualy cloninig the repository:

 git clone https://github.com/singingfish/Text-CSV-Encoded.git
 cd https://github.com/singingfish/Text-CSV-Encoded
 perl Makefile.PL
 make
 make test
 make install

=back

=head1 REQUIREMENTS

This distribution requires Perl v5.8.0.

This distribution requires the following modules:

=over 4

=item * L<Test::Pod> (version 1.41)

=item * L<Text::CSV> (version 1.31)

=back

=head1 COPYRIGHT AND LICENSE

This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.