________________________________
From: Sisyphus <sisyph...@optusnet.com.au>
To: Soham Das <soham...@yahoo.co.in>; beginners@perl.org
Sent: Tuesday, 29 September, 2009 3:45:41 AM
Subject: Re: Installing Tie::CSV_File in PPM


----- Original Message ----- From: "Soham Das" <soham...@yahoo.co.in>
To: <beginners@perl.org>
Sent: Tuesday, September 29, 2009 4:51 AM
Subject: Installing Tie::CSV_File in PPM


>> I am trying to install Tie::CSV_File through the ActivePerl PPM. But try as 
>> I might, I am not able to spot it. It also happens that CPAN repository is 
>> not supported.

>Always helps if you can let us know which version of perl you have. I'm 
>assuming perl-5.10.
>It fails all of its tests quite drastically on Win32 - and that's why there's 
>no ppm package for it.

Hmm I see..Thanks. I am using Perl 5.10 on Win32

>> Any ideas on how to install it will be great.

>If you haven't yet installed MinGW and dmake, then run:

>ppm install MinGW

>Following that, run:

cpan -fi Tie::CSV_File

That will install the module for you, but given the test failures that you'll 
see (which you'll find below my sig), I don't know if it will be of much use to 
you.

Cheers,
Rob

Running make test
C:\_32\ap1006\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 
'blib\lib', 'blib\arch')" t/*.t
t/1.t ................................ ok
t/assign_array.t ..................... Use of uninitialized value 
$options{"eol"} in anonymous hash ({}) at 
C:\_32\ap1006\cpan\build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File.pm line 
103.
Use of uninitialized value $options{"sep_re"} in anonymous hash ({}) at 
C:\_32\ap1006\cpan\build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File.pm line 
103.
Odd number of elements in anonymous hash at 
C:\_32\ap1006\cpan\build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File.pm line 
103.
Can't locate object method "combine" via package "quote_char" (perhaps you 
forgot to load "quote_char"?) at 
C:\_32\ap1006\cpan\build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File.pm line 
137.
# Looks like your test exited with 255 before it could output anything.
t/assign_array.t ..................... Dubious, test returned 255 (wstat 
65280,0xff00)
Failed 2/2 subtests
t/csv_options.t ...................... Use of uninitialized value 
$options{"eol"} in anonymous hash ({}) at 
C:\_32\ap1006\cpan\build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File.pm line 
103.
Use of uninitialized value $options{"sep_re"} in anonymous hash ({}) at 
C:\_32\ap1006\cpan\build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File.pm line 
103.
Odd number of elements in anonymous hash at 
C:\_32\ap1006\cpan\build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File.pm line 
103.
Use of uninitialized value $Data::Dumper::Indent in numeric gt (>) at 
C:/_32/ap1006/lib/Data/Dumper.pm line 97.
Use of uninitialized value in subroutine entry at 
C:/_32/ap1006/lib/Data/Dumper.pm line 190.
Can't locate object method "parse" via package "quote_char" (perhaps you forgot 
to load "quote_char"?) at 
C:\_32\ap1006\cpan\build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File.pm line 
198, <$fh> line 2.
# Looks like your test exited with 9 before it could output anything.
t/csv_options.t ...................... Dubious, test returned 9 (wstat 2304, 0x9
00)
Failed 15/15 subtests
t/delete.t ........................... Use of uninitialized value 
$options{"eol"} in anonymous hash ({}) at 
C:\_32\ap1006\cpan\build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File.pm line 
103.
Use of uninitialized value $options{"sep_re"} in anonymous hash ({}) at 
C:\_32\ap1006\cpan\build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File.pm line 
103.
Odd number of elements in anonymous hash at 
C:\_32\ap1006\cpan\build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File.pm line 
103.
Can't locate object method "combine" via package "quote_char" (perhaps you 
forgot to load "quote_char"?) at 
C:\_32\ap1006\cpan\build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File.pm line 
137.
# Looks like your test exited with 255 before it could output anything.
t/delete.t ........................... Dubious, test returned 255 (wstat 65280,
0xff00)
Failed 60/60 subtests
t/exists.t ........................... Use of uninitialized value 
$options{"eol"} in anonymous hash ({}) at 
C:\_32\ap1006\cpan\build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File.pm line 
103.
Use of uninitialized value $options{"sep_re"} in anonymous hash ({}) at 
C:\_32\ap1006\cpan\build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File.pm line 
103.
Odd number of elements in anonymous hash at 
C:\_32\ap1006\cpan\build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File.pm line 
103.
Can't locate object method "combine" via package "quote_char" (perhaps you 
forgot to load "quote_char"?) at 
C:\_32\ap1006\cpan\build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File.pm line 
137.
# Looks like your test exited with 255 before it could output anything.
t/exists.t ........................... Dubious, test returned 255 (wstat 65280,
0xff00)
No subtests run
t/false_but_defined_csv_options.t .... Use of uninitialized value 
$options{"eol"} in anonymous hash ({}) at 
C:\_32\ap1006\cpan\build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File.pm line 
103.
Use of uninitialized value $options{"sep_re"} in anonymous hash ({}) at 
C:\_32\ap1006\cpan\build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File.pm line 
103.
Odd number of elements in anonymous hash at 
C:\_32\ap1006\cpan\build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File.pm line 
103.
Can't locate object method "combine" via package "quote_char" (perhaps you 
forgot to load "quote_char"?) at 
C:\_32\ap1006\cpan\build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File.pm line 
137.
# Looks like your test exited with 255 before it could output anything.
t/false_but_defined_csv_options.t .... Dubious, test returned 255 (wstat 65280,
0xff00)
No subtests run
t/fetch.t ............................ Use of uninitialized value 
$options{"eol"} in anonymous hash ({}) at 
C:\_32\ap1006\cpan\build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File.pm line 
103.
Use of uninitialized value $options{"sep_re"} in anonymous hash ({}) at 
C:\_32\ap1006\cpan\build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File.pm line 
103.
Odd number of elements in anonymous hash at 
C:\_32\ap1006\cpan\build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File.pm line 
103.
Can't locate object method "parse" via package "quote_char" (perhaps you forgot 
to load "quote_char"?) at 
C:\_32\ap1006\cpan\build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File.pm line 
198, <$fh> line 2.
# Looks like your test exited with 9 before it could output anything.
t/fetch.t ............................ Dubious, test returned 9 (wstat 2304, 0x9
00)
Failed 5/5 subtests
t/one_column_with_an_empty_string.t .. Use of uninitialized value 
$options{"eol"} in anonymous hash ({}) at 
C:\_32\ap1006\cpan\build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File.pm line 
103.
Use of uninitialized value $options{"sep_re"} in anonymous hash ({}) at 
C:\_32\ap1006\cpan\build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File.pm line 
103.
Odd number of elements in anonymous hash at 
C:\_32\ap1006\cpan\build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File.pm line 
103.
Can't locate object method "parse" via package "quote_char" (perhaps you forgot 
to load "quote_char"?) at 
C:\_32\ap1006\cpan\build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File.pm line 
198.
# Looks like your test exited with 255 before it could output anything.
t/one_column_with_an_empty_string.t .. Dubious, test returned 255 (wstat 65280,
0xff00)
Failed 6/6 subtests
t/store.t ............................ Use of uninitialized value 
$options{"eol"} in anonymous hash ({}) at 
C:\_32\ap1006\cpan\build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File.pm line 
103.
Use of uninitialized value $options{"sep_re"} in anonymous hash ({}) at 
C:\_32\ap1006\cpan\build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File.pm line 
103.
Odd number of elements in anonymous hash at 
C:\_32\ap1006\cpan\build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File.pm line 
103.
Can't locate object method "combine" via package "quote_char" (perhaps you 
forgot to load "quote_char"?) at 
C:\_32\ap1006\cpan\build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File.pm line 
220.
# Looks like your test exited with 255 before it could output anything.
t/store.t ............................ Dubious, test returned 255 (wstat 65280,
0xff00)
Failed 53/53 subtests
t/storesize.t ........................ Use of uninitialized value 
$options{"eol"} in anonymous hash ({}) at 
C:\_32\ap1006\cpan\build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File.pm line 
103.
Use of uninitialized value $options{"sep_re"} in anonymous hash ({}) at 
C:\_32\ap1006\cpan\build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File.pm line 
103.
Odd number of elements in anonymous hash at 
C:\_32\ap1006\cpan\build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File.pm line 
103.
t/storesize.t ........................ 1/? Can't locate object method "parse" vi
a package "quote_char" (perhaps you forgot to load "quote_char"?) at 
C:\_32\ap1006\cpan\build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File.pm line 
198, <$fh> line 1.
# Looks like your test exited with 9 just after 1.
t/storesize.t ........................ Dubious, test returned 9 (wstat 2304, 0x9
00)
All 1 subtests passed
t/warn_parameter.t ...................
t/warn_parameter.t ................... 1/4 #   Failed test at 
t/warn_parameter.t line 21.
# found carped warning: The sep_char should either be defined or not mentioned, 
but I got something like sep_char => undef
# found warning: Use of uninitialized value $options{"eol"} in anonymous hash 
({}) at 
C:\_32\ap1006\cpan\build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File.pm
line 103.
# found warning: Use of uninitialized value $options{"sep_re"} in anonymous hash
({}) at 
C:\_32\ap1006\cpan\build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File.pm line 
103.
# found warning: Odd number of elements in anonymous hash at C:\_32\ap1006\cpan\
build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File.pm line 103.
# expected to find carped warning: (?i-xsm:sep_char)

#   Failed test at t/warn_parameter.t line 21.
# found carped warning: The sep_char should have a length of 1, not 0 at t/warn_
parameter.t line 20
# found warning: Use of uninitialized value $options{"eol"} in anonymous hash ({
}) at C:\_32\ap1006\cpan\build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File.pm
line 103.
# found warning: Use of uninitialized value $options{"sep_re"} in anonymous 
hash ({}) at 
C:\_32\ap1006\cpan\build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File
.pm line 103.
# found warning: Odd number of elements in anonymous hash at C:\_32\ap1006\cpan\
build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File.pm line 103.
# expected to find carped warning: (?i-xsm:sep_char)

#   Failed test at t/warn_parameter.t line 21.
# found carped warning: The sep_char should have a length of 1, not 2 at 
t/warn_parameter.t line 20
# found warning: Use of uninitialized value $options{"eol"} in anonymous hash ({
}) at C:\_32\ap1006\cpan\build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File.pm
line 103.
# found warning: Use of uninitialized value $options{"sep_re"} in anonymous 
hash ({}) at 
C:\_32\ap1006\cpan\build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File.pm line 
103.
# found warning: Odd number of elements in anonymous hash at 
C:\_32\ap1006\cpan\build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File.pm line 
103.
# expected to find carped warning: (?i-xsm:sep_char)

#   Failed test at t/warn_parameter.t line 21.
# found carped warning: The sep_char ' ' is itself not matched by the sep_re 
'(?-xism:\S)' at t/warn_parameter.t line 20
# found warning: Use of uninitialized value $options{"eol"} in anonymous hash 
({}) at 
C:\_32\ap1006\cpan\build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File.pm line 
103.
# found warning: Odd number of elements in anonymous hash at 
C:\_32\ap1006\cpan\build\Tie-CSV_File-0.21-08DacU\blib\lib/Tie/CSV_File.pm line 
103.
# expected to find carped warning: (?i-xsm:sep_char)
# Looks like you failed 4 tests of 4.
t/warn_parameter.t ................... Dubious, test returned 4 (wstat 1024, 0x4
00)
Failed 4/4 subtests
t/wrong_parameter.t .................. ok

Test Summary Report
-------------------
t/assign_array.t                   (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan.  You planned 2 tests but ran 0.
t/csv_options.t                    (Wstat: 2304 Tests: 0 Failed: 0)
Non-zero exit status: 9
Parse errors: Bad plan.  You planned 15 tests but ran 0.
t/delete.t                         (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan.  You planned 60 tests but ran 0.
t/exists.t                         (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
t/false_but_defined_csv_options.t  (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
t/fetch.t                          (Wstat: 2304 Tests: 0 Failed: 0)
Non-zero exit status: 9
Parse errors: Bad plan.  You planned 5 tests but ran 0.
t/one_column_with_an_empty_string.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan.  You planned 6 tests but ran 0.
t/store.t                          (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan.  You planned 53 tests but ran 0.
t/storesize.t                      (Wstat: 2304 Tests: 1 Failed: 0)
Non-zero exit status: 9
t/warn_parameter.t                 (Wstat: 1024 Tests: 4 Failed: 4)
Failed tests:  1-4
Non-zero exit status: 4
Files=12, Tests=10,  5 wallclock secs ( 0.20 usr +  0.08 sys =  0.28 CPU)
Result: FAIL 

-- To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


      Yahoo! India has a new look. Take a sneak peek http://in.yahoo.com/trynew

Reply via email to