http://www.perlmonks.org?node_id=997427

Perlbeginner1 has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: From text to csv with Text::CSV_XS
by marto (Cardinal) on Oct 05, 2012 at 15:17 UTC

    Should you really be dumping these details here? This looks like Address and contact details. You're also asking the same question in other places here for example.

    "Well at the moment all the results will only print the data to stdout (console) im sure that i can modify it... :-)"

    Uh huh?

    "i just installed the Text::CSV_XS took it from here: http://search.cpan.org/~hmbrand/Text-CSV_XS-0.91/CSV_XS.pm"

    We've been over this before, it's even displayed each time you post: What shortcuts can I use for linking to other information?.

    So this is related to your previous posts regards scraping thousands of websites using WWW::Mechanize? As you've found out, simply installing a module isn't going to make the code you need to integrate the required functionality with your previous scripts. Try reading the documentation, writing some code. See my previous response.

Re: From text to csv with Text::CSV_XS
by Perlbeginner1 (Scribe) on Oct 05, 2012 at 10:27 UTC
    by the way


    there has to be some sanitizing as well..

    there has to be some iso 8859 sanitizing....


    use Text::CSV::Encoded; my $csv = Text::CSV::Encoded->new ({ encoding_in => "iso-8859-1", # the encoding comes into Perl encoding_out => "cp1252", # the encoding comes out of Perl