Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re^6: Using Text::CSV

by Win (Novice)
on Sep 25, 2009 at 12:13 UTC ( #797476=note: print w/replies, xml ) Need Help??

in reply to Re^5: Using Text::CSV
in thread Using Text::CSV

You can't get Text::CSV above version 0.01 from the cpan or ppm DOS prompt.

Replies are listed 'Best First'.
Re^7: Using Text::CSV
by Win (Novice) on Sep 25, 2009 at 12:34 UTC
    cpan> install Text::CSV Running install for module Text::CSV Running make for M/MA/MAKAMAKA/Text-CSV-1.12.tar.gz Is already unwrapped into directory \.cpan\build\Text-CSV-1.12 Has already been processed within this session Running make test 'test' is not recognized as an internal or external command, operable program or batch file. test -- NOT OK Running make install make test had returned bad status, won't install without force cpan>

      Something must be bad with your CPAN setup, as it works flawlessly for me. Maybe try a manual install outside of cpan, or clean your CPAN cache or restart your CPAN session so that cpan doesn't find the "already unwrapped" directory.

      Q:\>cpan Text::CSV CPAN: File::HomeDir loaded ok (v0.58) CPAN: CPAN::SQLite loaded ok (v0.1) CPAN: LWP::UserAgent loaded ok (v2.036) CPAN: Time::HiRes loaded ok (v1.86) Fetching with LWP: CPAN: YAML loaded ok (v0.62) Fetching with LWP: +s.txt.gz Fetching with LWP: Updating database file ... Gathering information from index files ... Obtaining current state of database ... Populating database tables ... Done! Running install for module 'Text::CSV' Running make for M/MA/MAKAMAKA/Text-CSV-1.13.tar.gz Fetching with LWP: +Text-CSV-1 .13.tar.gz CPAN: Digest::SHA loaded ok (v5.43) Fetching with LWP: +CHECKSUMS Checksum for C:\somewhere\Temp\cpan\sources\authors\id\M\MA\MAKA MAKA\Text-CSV-1.13.tar.gz ok CPAN: Archive::Tar loaded ok (v1.30) Text-CSV-1.13/ Text-CSV-1.13/t/ Text-CSV-1.13/lib/ Text-CSV-1.13/Changes Text-CSV-1.13/MANIFEST Text-CSV-1.13/META.yml Text-CSV-1.13/files/ Text-CSV-1.13/README Text-CSV-1.13/Makefile.PL Text-CSV-1.13/files/utf8.csv Text-CSV-1.13/lib/Text/ Text-CSV-1.13/lib/Text/ Text-CSV-1.13/lib/Text/ Text-CSV-1.13/t/45_eol.t Text-CSV-1.13/t/40_misc.t Text-CSV-1.13/t/10_base.t Text-CSV-1.13/t/ Text-CSV-1.13/t/21_lexicalio.t Text-CSV-1.13/t/00_pod.t Text-CSV-1.13/t/71_pp.t Text-CSV-1.13/t/55_combi.t Text-CSV-1.13/t/12_acc.t Text-CSV-1.13/t/22_scalario.t Text-CSV-1.13/t/75_hashref.t Text-CSV-1.13/t/80_diag.t Text-CSV-1.13/t/70_rt.t Text-CSV-1.13/t/50_utf8.t Text-CSV-1.13/t/65_allow.t Text-CSV-1.13/t/76_magic.t Text-CSV-1.13/t/20_file.t Text-CSV-1.13/t/30_types.t Text-CSV-1.13/t/60_samples.t Text-CSV-1.13/t/15_flags.t CPAN: File::Temp loaded ok (v0.17) Going to build M/MA/MAKAMAKA/Text-CSV-1.13.tar.gz Welcome to Text::CSV (v.1.13) ============================= Your Text::CSV_XS version is 0.60. If you install v.0.65, Text::CSV will work faster. Checking if your kit is complete... Looks good Writing Makefile for Text::CSV Math::BigInt: couldn't load specified math lib(s), fallback to Math::B +igInt::Fas tCalc at G:/Systeme/tools/perl-5.8.8/perl/site/lib/Win32API/ li +ne 20 cp lib/Text/ blib\lib\Text\ cp lib/Text/ blib\lib\Text\ MAKAMAKA/Text-CSV-1.13.tar.gz G:\xxx\perl-5.8.8\dmake\bin\dmake.exe -- OK Running make test G:\xxx\perl-5.8.8\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "te st_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/00_pod..........skipped all skipped: Test::Pod 1.00 required for testing POD t/10_base.........ok t/12_acc..........ok t/15_flags........ok t/20_file.........ok t/21_lexicalio....ok t/22_scalario.....ok t/30_types........ok t/40_misc.........ok t/45_eol..........ok t/50_utf8.........ok t/55_combi........ok t/60_samples......ok t/65_allow........ok t/70_rt...........ok t/71_pp...........ok t/75_hashref......ok t/76_magic........ok t/80_diag.........ok 1/86# Next line should be an error message # CSV_PP ERROR: 2037 - EIF - Binary character in unquoted field, binar +y off t/80_diag.........ok All tests successful, 1 test skipped. Files=19, Tests=11674, 52 wallclock secs ( 0.00 cusr + 0.00 csys = 0 +.00 CPU) MAKAMAKA/Text-CSV-1.13.tar.gz G:\xxx\perl-5.8.8\dmake\bin\dmake.exe test -- OK Running make install Prepending C:\somewhere\Temp\cpan\build\Text-CSV-1.13-GrvSKt/bli b/arch C:\somewhere\Temp\cpan\build\Text-CSV-1.13-GrvSKt/blib/li b to PERL5LIB for 'install' Math::BigInt: couldn't load specified math lib(s), fallback to Math::B +igInt::Fas tCalc at G:/Systeme/tools/perl-5.8.8/perl/site/lib/Win32API/ li +ne 20 Installing G:\xxx\perl-5.8.8\perl\site\lib\Text\ Installing G:\xxx\perl-5.8.8\perl\site\lib\Text\ Writing G:\xxx\perl-5.8.8\perl\site\lib\auto\Text\CSV\.packlist Appending installation info to G:\xxx\perl-5.8.8\perl\lib/perllocal.po d MAKAMAKA/Text-CSV-1.13.tar.gz G:\xxx\perl-5.8.8\dmake\bin\dmake.exe install UNINST=1 -- OK

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://797476]
[ambrus]: was this bug: https://rt.cpan. org/Public/Bug/ Display.html?id= 59814
[Corion]: ambrus: Oh - that one would be much harder to automate... The SYNOPSIS section should mostly be a runnable program IMO, but I write only small snippets in my documentation for single functions/methods, and creating the appropriate environment for ...
[Corion]: ... those in an automated fashion seems somewhat hard to me. Although it should do wonders for the test coverage ;)
[haukex]: Corion: I once wrote an automated thingy for that here
[haukex]: here's the code that uses it
[Corion]: haukex: Hmm - maybe I can reuse that. I see that it uses Pod::Parser, which I think was one of the more fragile parsers. But if I'm statically (re)generating the tests instead of doing that "live" on the client/tester machines, that's a much smaller...
[Corion]: ... problem space than trying to cater to all versions of Pod::Parser(s)

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (10)
As of 2017-02-27 12:20 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (385 votes). Check out past polls.