Re: How to indicate a dependency in my module

2003-11-10 Thread Terrence Brannon
Randy W. Sims wrote: Thinking more about this, I guess META.yml would need to provide a little more info to a configure module. Would something like the following work? It's probably too late, but I am not keen on YAML. What is wrong with pure Perl configuration information? YAML is touchy abou

Re: How to indicate a dependency in my module

2003-11-10 Thread Randy W. Sims
Randy W. Sims wrote: darren chamberlain wrote: * Randy W. Sims [2003-11-10 15:49]: Also, as I noted in the AFS thread the other day, this info should be written in META.yml so that cpan-testers can determine programatically whether a module should be tested. Info like required non-perl packa

Re: How to indicate a dependency in my module

2003-11-10 Thread Randy W. Sims
darren chamberlain wrote: * Randy W. Sims [2003-11-10 15:49]: Also, as I noted in the AFS thread the other day, this info should be written in META.yml so that cpan-testers can determine programatically whether a module should be tested. Info like required non-perl packages and libraries, whe

Re: How to indicate a dependency in my module

2003-11-10 Thread Bruno Negrao
Hi Sherzod and everybody, >If the whole library has a dependency, and wouldn't function as intended if >they are found missing, >then you have to let Makefile.PL to take care of it (read my prev. message >to this thread). Yes, without daemontools installed, my module has nothing else to do on tha

FW: How to indicate a dependency in my module

2003-11-10 Thread Sherzod Ruzmetov
: > In my test script, I cause the test to fail if it : cannot find a process, : > 'svscan', running on the machine. Do you think that : this can cause all the : > cpan-testers to fail? If the whole library has a dependency, and wouldn't function as intended if they are foun

Re: How to indicate a dependency in my module

2003-11-10 Thread Sherzod Ruzmetov
: ...but how would things like AFS be detectible? Look into standard Config.pm, which will have all the information about particular Perl installation.

Re: How to indicate a dependency in my module

2003-11-10 Thread darren chamberlain
* Randy W. Sims [2003-11-10 15:49]: > Also, as I noted in the AFS thread the other day, this info should be > written in META.yml so that cpan-testers can determine programatically > whether a module should be tested. Info like required non-perl packages > and libraries, whether the build/test/

Re: How to indicate a dependency in my module

2003-11-10 Thread Randy W. Sims
darren chamberlain wrote: * Bruno Negrao [2003-11-10 17:10]: I?m finishing to write a module, Proc::Daemontools, and it requires that the daemontools package be installed on a machine for it to work. Where must I indicate that this module have a dependency? I already wrote this on the README file

Re: Yet another naming question

2003-11-10 Thread Mark Stosberg
On Mon, Nov 10, 2003 at 03:06:30PM -0500, darren chamberlain wrote: > > be the TLD since it is mail related? > > > > Mail::Mutt::Parser > > > > is my guess, but I don't know much about mutt. > > Though the idea and syntax originate with mutt (as far as I know, at > least), the general idea is no

Re: How to indicate a dependency in my module

2003-11-10 Thread darren chamberlain
* Bruno Negrao [2003-11-10 17:10]: > I?m finishing to write a module, Proc::Daemontools, and it requires that the > daemontools package be installed on a machine for it to work. > Where must I indicate that this module have a dependency? I already wrote > this on the README file. Is there any othe

Re: Yet another naming question

2003-11-10 Thread darren chamberlain
* Terrence Brannon [2003-11-10 08:27]: > darren chamberlain wrote: > > >Is this worth putting onto CPAN, > > > it sounds like re-useable functionality, so why not? That was my thinking. > >and, if so, what should it be called? > >The working name is Parse::MuttStylePatterns, but that's a pretty

RE: How to indicate a dependency in my module

2003-11-10 Thread Sherzod Ruzmetov
: Where must I indicate that this module have a dependency? You have to indicate it in your Makefile.PL. Here is an example of a Makefile.PL: WriteMakefile( NAME=> 'Class::PObject', VERSION_FROM=> 'PObject.pm', PREREQ_PM => { 'Storable' => 0,

Re: How to indicate a dependency in my module

2003-11-10 Thread Terrence Brannon
Bruno Negrao wrote: Hi all, I´m finishing to write a module, Proc::Daemontools, and it requires that the daemontools package be installed on a machine for it to work. Where must I indicate that this module have a dependency? I already wrote this on the README file. Is there any other place?

How to indicate a dependency in my module

2003-11-10 Thread Bruno Negrao
Hi all, I´m finishing to write a module, Proc::Daemontools, and it requires that the daemontools package be installed on a machine for it to work. Where must I indicate that this module have a dependency? I already wrote this on the README file. Is there any other place? In my test script, I caus

Re: Yet another naming question

2003-11-10 Thread Terrence Brannon
darren chamberlain wrote: Is this worth putting onto CPAN, it sounds like re-useable functionality, so why not? and, if so, what should it be called? The working name is Parse::MuttStylePatterns, but that's a pretty bad name. should Mail:: be the TLD since it is mail related? Mail::Mutt::Pa

Re: My new module Proc::Daemontools

2003-11-10 Thread Bruno Negrao
> What about: > > Daemontools::Installinstall/uninstall a server under daemontools > (i.e. `ln -s /path-to-startup-dir /service` ...) > > Daemontools::Configure daemontools server configuration > (i.e. `touch /service/qmail/down` ...) > > Daemont

Yet another naming question

2003-11-10 Thread darren chamberlain
Hello, all. I have a short module that parses arbitrary mutt-style patterns into a hash (mutt's patterns are documented in section 4.2 of the mutt manual). For example: ~t foo ~f bar would turn into: $VAR1 = { 'f' => { 'value' => 'bar', '