Click here to get back home

A question of name space

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
A question of name space Sherm Pendley 10-31-2004
Posted by Sherm Pendley on October 31, 2004, 2:55 pm
Please log in for more thread options
I have a module - CamelBones.pm - that until now has required the
presence of an embedded interpreter. It's similar to how the Apache::*
modules only work in that environment. So, I bundle the module with the
library framework, I I don't think too much about using a top-level name
space for it.

The framework is a Perl adapter for Apple's Cocoa libraries - but it's
not just a Mac Thing anymore. There are Debian GNU/Linux packages too,
that wrap it around GNUStep.

But now I have a CPAN module to wrap the library, making it accessible
to ordinary Perl scripts in addition to embedded apps. So I need to
think about the issue of a top-level name space.

Arguments for a top-level name space: Compatibility. There are apps out
there that use the framework as it is, and it would be useful if code
could be written to work in either environment. Model object classes
could be created with the data in mind, and re-used in batch scripts,
web frontends, and GUI apps alike.

It's portable, so wouldn't be a good fit for Mac::*. There are
precedents in Apache::*, GTK::*, Tk::*.

Any thoughts?

sherm--

--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org


Similar ThreadsPosted
Proposed Name Space DBIx::CopyRecords December 31, 2006, 2:18 pm
DBI question November 5, 2004, 4:28 pm
Newbie Question January 3, 2005, 4:11 pm
LWP question on windows98 October 7, 2004, 8:19 pm
Question to WIN32::OLE October 14, 2004, 11:34 am
Simple question September 15, 2005, 4:17 am
Getopt::Std question September 7, 2005, 9:42 am
Question regarding databases.. November 18, 2005, 9:41 am
Module Question October 25, 2004, 11:42 am
Mechanize question November 8, 2004, 10:57 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap