|
Posted by Bart Lateur on October 2, 2004, 10:04 am
Please log in for more thread options
I've written a module that is much like File::Find, but specific for
Win32, using Windows API calls through Win32::API, to loop through the
directories. It's worth the trouble, it can be 2 to 5 times faster than
plain File::Find.
I was considering the name File::Find::Win32 -- in fact, that's the name
I've been using for my own use for many months now. Is this OK?
Now how do I tell CPAN-testers that this module is *only* intended for
Win32? Like Win32::API, where most of the entries for CPAN-testers are
"NA". At first sight I see nothing special in the Makefile.PL or any
other top level file. So, how does it work? Why do CPAN-testers skip
this module?
--
Bart.
|
|
Posted by Tassilo v. Parseval on October 3, 2004, 12:17 am
Please log in for more thread options
Also sprach Bart Lateur:
> I've written a module that is much like File::Find, but specific for
> Win32, using Windows API calls through Win32::API, to loop through the
> directories. It's worth the trouble, it can be 2 to 5 times faster than
> plain File::Find.
>
> I was considering the name File::Find::Win32 -- in fact, that's the name
> I've been using for my own use for many months now. Is this OK?
>
> Now how do I tell CPAN-testers that this module is *only* intended for
> Win32? Like Win32::API, where most of the entries for CPAN-testers are
> "NA". At first sight I see nothing special in the Makefile.PL or any
> other top level file. So, how does it work? Why do CPAN-testers skip
> this module?
I think all you need to do is have your Makefile.PL die when it
detects an unsuitable environment. At least that's what I do in a few of
my modules and I see a couple of NA results. I'd be quite surprised if
they'd exist due to the thoughfulness of some CPAN testers who manually
edited their reports.
Tassilo
--
$_=q#",}])!JAPH!qq(tsuJ[3..0}_$;//::niam/s~=)]3[))_$-3(rellac(=_$({
pam)(rekcah)(lreP)!JAPH!qq(rehtona{tsuJbus#;
$_=reverse,s+(?<=sub).+q#q!'"qq.t$&."'!#+sexisexiixesixeseg;y~n~~dddd;eval
|
|
Posted by brian d foy on October 4, 2004, 3:54 pm
Please log in for more thread options [[ This message was both posted and mailed: see
the "To," "Cc," and "Newsgroups" headers for details. ]]
> Now how do I tell CPAN-testers that this module is *only* intended for
> Win32?
the individual testers seem to have their own set-ups.
You could but a line in the top of the tests that skips all the
tests if they aren't on the right platform (or you could bail
out of all of the tests).
--
brian d foy, comdog@panix.com
|
| Similar Threads | Posted | | Building module Encode::Detect on solaris 10 platform | February 21, 2008, 9:13 am |
| How do I force a specific compiler in Configure/make | January 18, 2005, 12:05 pm |
| [RFC] Finance::Accounts -- an abstraction above account-specific modules | July 6, 2006, 7:56 pm |
| New site lets you receive RSS feeds for specific modules | March 23, 2007, 10:54 pm |
| platform independent fork | July 18, 2004, 5:23 pm |
| Term::ReadKey for VMS platform | July 25, 2008, 11:45 am |
| sftp loops Win32 platform | July 7, 2006, 12:28 pm |
| Receiving snmp traps in perl on Win platform? | June 2, 2008, 12:47 pm |
| Looking for pre-built DBI/DBD:Oracle modules for Perl 5.8.4 on Solaris 10 platform | May 6, 2008, 5:02 pm |
| Question on platform dependency of ExtUtils::Command::MM (file globbing) | December 17, 2006, 7:49 am |
|