On Sun, 11 Jan 2009, Cosimo Streppone wrote:

I took some time to debug the problem in t\extutils-makemaker.t, but
I think the other test cases have the same problem.
I'm sorry I won't be very scientific here, but anyway...

- The files are created as expected by cgiapp-starter
- The list of expected files has the format 'Foo/<something>'
- My '$dir' is set to 'E:\.cpan\build\Module-Starter-...\t'
- A typical '$File::Find::name' value in wanted() is
'E:\.cpan\build\Module-Starter-...\t\Foo\<something>'
- The 'grep' inside @expected_files doesn't match because you're
comparing with 'eq', but instead you have:

  @expected              $File::Find::name
 -------------------------------------------
  Foo/lib/Foo.pm         \Foo/lib/Foo.pm
  Foo/lib/Foo/templates  \Foo/lib/Foo/templates
  ....

and so on...
Hope this helps.


Thanks to you and Ron for your help in tracing this problem. I believe with 0.10 I have it fixed. I have tested on ActiveState and Strawberry (both 5.10) and it passes all tests unless the directory path to where you have unpacked the module contains spaces. But I will try and fix that later. For now at least there is a workaround.

--
Jaldhar H. Vyas <jald...@braincells.com>

#####  CGI::Application community mailing list  ################
##                                                            ##
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp    ##
##                                                            ##
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:          http://cgiapp.erlbaum.net/                 ##
##                                                            ##
################################################################

Reply via email to