|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
|
|
|
Re: TestAppsEven if I would delete the file, the namespace I had chosen for the .pm test
file would be registered for me. Search for CGIAPP_TestApp2 on cpan and you will see what I mean. I would like to avoid this namespace pollution, at least at this level, by introducing a lower level namespace exactly for such things. -----Ursprüngliche Nachricht----- Von: cgiapp-bounces@... [mailto:cgiapp-bounces@...] Im Auftrag von NP Bamber Gesendet: Samstag, 17. Oktober 2009 19:02 An: cgiapp@... Betreff: [cgiapp] TestApps Why do you need a test name space. Is this just to check the formatting of the upload file? http://perlmonks.org/?node_id=596075 works reasonably well for that. Also there is a way in PAUSE of scheduling files for deletion. That is a good thing as I am sure noone wants really old versions hanging around for every module. cgiapp-request@... wrote: > Send cgiapp mailing list submissions to > cgiapp@... > > To subscribe or unsubscribe via the World Wide Web, visit > http://www.erlbaum.net/mailman/listinfo/cgiapp > or, via email, send a message with subject or body 'help' to > cgiapp-request@... > > You can reach the person managing the list at > cgiapp-owner@... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of cgiapp digest..." > > > Today's Topics: > > 1. test namespace for CGI::Application (Alex) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 17 Oct 2009 10:47:05 +0200 > From: "Alex" <capfan@...> > Subject: [cgiapp] test namespace for CGI::Application > To: "'CGI Application'" <cgiapp@...> > Message-ID: <000c01ca4f06$67d06870$37713950$@de> > Content-Type: text/plain; charset="us-ascii" > > Dear all! > > I recently polluated another cpan root namespace by including a test > application in a dist. That's bad. I wonder if there isn't a test > namespace in the CGI::Application namespace itself. So anyone > releasing a plugin with a test application could use this namespace. > > CGI::Application::TestApps is what I was thinking of. > What do you think of this? > > Regards, Alex > > > > ------------------------------ > > _______________________________________________ > cgiapp mailing list > cgiapp@... > http://www.erlbaum.net/mailman/listinfo/cgiapp > > > End of cgiapp Digest, Vol 25, Issue 8 > ************************************* > > > ##### 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/ ## ## ## ################################################################ ##### 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/ ## ## ## ################################################################ |
|
|
Re: TestAppsHi Alex
On Sat, 2009-10-17 at 22:31 +0200, Alex wrote: > CGIAPP_TestApp2 Sure, delete it. That makes sense. As for your test namespace, wouldn't it be better to use Test::CgiApp? I'm thinking Test::CGI::Application::* is getting long, but it's good to encourage people to be consistent about both releasing tests (for C::A-based modules) and keeping them together. And Test::* is /the/ namespace prefix for tests... -- Ron Savage ron@... http://savage.net.au/index.html ##### 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/ ## ## ## ################################################################ |
|
|
Re: TestAppsOn 10/17/2009 04:31 PM, Alex wrote:
> Even if I would delete the file, the namespace I had chosen for the .pm test > file would be registered for me. This is totally dependent on where you put your modules. Most people put testing modules that are only useful for your specific module inside t/lib/ so that they aren't indexed like the things in lib/. -- Michael Peters Plus Three, LP ##### 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/ ## ## ## ################################################################ |
| Free embeddable forum powered by Nabble | Forum Help |