Skip to content

Man page: also mention how to read from a a string #55

@jidanni

Description

@jidanni

Currently the Text::CSV man page only mentions how to get input from files.

However, other man pages show more ways,

         $dom = XML::LibXML->load_xml(
             location => $file_or_url
             # parser options ...
           );
         $dom = XML::LibXML->load_xml(
             string => $xml_string
             # parser options ...
           );
         $dom = XML::LibXML->load_xml(
             string => (\$xml_string)
             # parser options ...
           );
         $dom = XML::LibXML->load_xml({
             IO => $perl_file_handle
             # parser options ...
           );
         $dom = $parser->load_xml(...);

Therefore it would be great if the Text::CSV man page mentioned ways to read from a string, etc. which may be needed if preprocessing is necessary, e.g., to strip comments for #54.
Or say "Text::CSV cannot read from a string, as we need to seek() ..."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions