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;
linux-wyee:/home/martin/perl # perl kath_test_1.pl
Loostown Ledochowskastra�e 4 3382 Loosdorf Telefonnummer: 027
+54 6257 FAX-Nummer: 02754 6257-4
linux-wyee:/home/martin/perl #
the script below gives back result like this one;
Loostown
Ledochowskastraße
3382 Loostown
Telefonnummer: 0002754 6257
FAX-Nummer: 0002754 6257-4
see more results:
Marias Neustift Neustift 28 4443 Maria Neustift Telefonnummer: 007250/
+204 FAX-Nummer: 07250/204-4 E-Mail: prre.marianeustift@dioezese-linz.
+at
<bMarias Puchheim Gmundner Stra�e 1b 4800 Attnang-Puchheim Tele
+fonnummer: 007674/62334 FAX-Nummer: 07674/62334-4 E-Mail: prre.mariap
+uchheim@dioezese-linz.at
Marias Scharten Scharten 1 4612 Scharten Telefonnummer: 007272/5210
Marias Schmolln Maria Schmolln 2 5241 Maria Schmolln Telefonnummer: 00
+7743/2209-12 FAX-Nummer: 07743/2209-17 E-Mail: prre.mariaschmolln@dio
+ezese-linz.at
Mattighofen R�merstra�e 12 5230 Mattighofen Telefonnumme
+r: 007742/2273 0676/87765221 FAX-Nummer: 07742/2273-22 E-Mail: peipfa
+rre.mattighofen@dioezese-linz.at
Mauerkirchens Pfarrhofstra�e 4 5270 Mauerkirchen Telefonnummer:
+ 007724/2262
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.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.