From text to csv with Text::CSV_XSby Perlbeginner1 (Scribe)
|on Oct 05, 2012 at 10:04 UTC||Need Help??|
Perlbeginner1 has asked for the
wisdom of the Perl Monks concerning the following question:
hello dear perl-fans
first of all - many thanks for the help. you helped me alot so far...
well i was running a script (see below) gave back the following;
see more results:
note: the results should be stored in a csv formatted way...
for 1. therfore i did the changes: changed the $max_page_num to the max number and change $page to the starting number. this will only print the data to stdout (console)
now i am trying to modify it... :-)
well i have to put it to the CSV-values.
usually this can be done with use Text::CSV_XS (where the Class::CSV is based on). Note: A friend also suggested me using Text::CSV which will load up Text::CSV_XS or,
Well at the moment all the results will only print the data to stdout (console) im sure that i can modify it... :-)
i just installed the Text::CSV_XS took it from here: http://search.cpan.org/~hmbrand/Text-CSV_XS-0.91/CSV_XS.pm
how to combine the mechanize script with the one that takes care for the text-to-csv-transformation.