in reply to perl6-slurp for Windows

You're invoking make on Windows? Are you sure you don't need dmake?

Also, always check the bug tracker: 26595 seems relevant.

I did notice on the CPAN testers reports that v0.03 did pass on Windows. Perhaps you could try installing that version. GraphViz2 only requires v0.03.


Dave

Replies are listed 'Best First'.
Re^2: perl6-slurp for Windows (heehee)
by tye (Sage) on May 12, 2012 at 01:31 UTC

    I would be incredulous if using the wrong "make" lead to just a single test step failing. Especially as that is the same test step that fails in automated tests.

    (Update: Oops. I see now that those two things are distinct issues here. Note that you shouldn't have to "use make" to get the module to install, just read up on whatever tool you are using to figure out how to force it to install even though the unit test results weren't perfect. Also, which 'make' to use can be determined by running "perl -V:make".)

    Humorously, if you look at the differences between v0.03 and v0.05, you'll see this:

    +TEST "shouldn't be able to slurp failed pipe"; + +eval{slurp "-|", "non-existent_prog"} + ? ok 0, $desc + : like $@, + qr/^Can't open '-|non-existent_prog'/, + $desc;

    Yeah, I really doubt v0.05 in fact works any less well on Windows than v0.03 did. :)

    - tye