Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: can perl-data-dumper-concise replace data-dumper!?

by CountZero (Bishop)
on Oct 04, 2012 at 19:26 UTC ( #997297=note: print w/ replies, xml ) Need Help??


in reply to can perl-data-dumper-concise replace data-dumper!?

Data::Dumper::Concise is Data:Dumper in disguise with a few option set differently from the standard.

From the docs:

It exists, fundamentally, as a convenient way to reproduce a set of Dumper options that we've found ourselves using across large numbers of applications, primarily for debugging output.
If you are looking for alternatives for Data:Dumper, have a look at Data:Dump. Personally I like its output more than Data:Dumper. but YMMV.

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

My blog: Imperial Deltronics


Comment on Re: can perl-data-dumper-concise replace data-dumper!?
Re^2: can perl-data-dumper-concise replace data-dumper!?
by Perlbeginner1 (Scribe) on Oct 04, 2012 at 23:42 UTC
    hello dear buddy,

    thx qlot.
    running the script - i get such data back


    Maria Schmolln Maria Schmolln 2 5241 Maria Schmolln Telefonnummer: 07743/2209-12 FAX-Nummer: 07743/2209-17 E-Mail: pfarre.mariaschmolln@dioezese-linz.ats Mattighofen R�merstra�e 12 5230 Mattighofen Telefonnummer: 07742/2273 0676/87765221 FAX-Nummer: 07742/2273-22 E-Mail: propsteipfarre.mattighofen@dioezese-linz.atb Mauerkirchen Pfarrhofstra�e 4 5270 Mauerkirchen Telefonnummer: 07724/2262



    it does count up - that is great!!

    what i want is to force the script to run from 00000 to 10000 - the results should be stored in a csv formatted way...

    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) 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
    now i try to figure out which attributes i do use

    what do you suggest!?

      what do you suggest!?

      Like, write some code, or like , hire a programmer, its like, the same advice from last year, like before, your plagiarised fake groveling *

      Your enthusiastic feigned interest is boring!

      Mmmm, difficult to answer as nobody has seen your script. For what it is worth, Text::CSV is the indeed the way I would write a CSV file.

      CountZero

      A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

      My blog: Imperial Deltronics

      "what do you suggest!?"

      I suggest that you spend less time spamming this forum (this is essentially reposted here: From text to csv with Text::CSV_XS), and learn to code.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://997297]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2014-09-01 18:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (15 votes), past polls