Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

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

by Perlbeginner1 (Scribe)
on Oct 04, 2012 at 19:08 UTC ( #997294=perlquestion: print w/ replies, xml ) Need Help??
Perlbeginner1 has asked for the wisdom of the Perl Monks concerning the following question:

hello dear perler,

one question: i just install several modules
now i have to choice:
can perl data dumper roncise
replace data dumper!?


and if so - how to call it°!?

love to hear from you


greeetings

Comment on can perl-data-dumper-concise replace data-dumper!?
Re: can perl-data-dumper-concise replace data-dumper!?
by Anonymous Monk on Oct 04, 2012 at 19:16 UTC

    can perl data dumper roncise replace data dumper!?

    Yes, obviously

    and if so - how to call it°!?

    Just exactly as shown in the documentation, same as D::D

Re: can perl-data-dumper-concise replace data-dumper!?
by CountZero (Bishop) on Oct 04, 2012 at 19:26 UTC
    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
      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: perlquestion [id://997294]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2014-08-23 08:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (172 votes), past polls