Re: [CDBI] CDBI Newbie Question

[prev] [thread] [next] [Date index for 2005/09/28]

From: Steven Mackenzie
Subject: Re: [CDBI] CDBI Newbie Question
Date: 07:32 on 28 Sep 2005
Jay Strauss wrote:
> Maybe I'm misunderstanding, but have you looked at
> use lib qw/.../
> or export a PERL5LIB environmental var?

I'm using the PERL5LIB approach at the moment to find all of my Perl
modules that I've put under ANPerl:: (Actually at
c:\cvs\pwebcosm\2.2\ANPerl)

I did this to avoid any future problems if I happen to invent a package
name the same as something else installed on my, or my users, machine.
That's possibly less pragmatic than necessary -- a few people here have
suggested not bothering (you, Tod W, and Bill Moseley).

Matt Trout suggested
  sub table { return
    "ANPerl::AnalysisFramework::ResourceStore::Metadata::$_[0]"; };
and Kingsley Kerce suggested
  use aliased;

Those are both closer to what I was (wrongly) expecting
  use ANPerl::...::DBResourceStoreDBStates;
to do ("use" for a non-OO module imports things in to my namespace!)

The final option is that I just use the long names, which when I've
finshed my modules will be hidden away from all the client code anyway.

So I have a few options now,

Thanks eveyone!
Steven


_______________________________________________
ClassDBI mailing list
ClassDBI@xxxxx.xxxxxxxxxxxxxxxx.xxx
http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi

[CDBI] CDBI Newbie Question
Steven Mackenzie 16:26 on 27 Sep 2005

Re: [CDBI] CDBI Newbie Question
Matt S Trout 16:48 on 27 Sep 2005

Re: [CDBI] CDBI Newbie Question
Steven Mackenzie 17:44 on 27 Sep 2005

Re: [CDBI] CDBI Newbie Question
Bill Moseley 16:52 on 27 Sep 2005

Re: [CDBI] CDBI Newbie Question
Kingsley Kerce 16:55 on 27 Sep 2005

Re: [CDBI] CDBI Newbie Question
Steven Mackenzie 18:17 on 27 Sep 2005

Re: [CDBI] CDBI Newbie Question
Jay Strauss 02:02 on 28 Sep 2005

Re: [CDBI] CDBI Newbie Question
Todd W 02:21 on 28 Sep 2005

Re: [CDBI] CDBI Newbie Question
Steven Mackenzie 07:32 on 28 Sep 2005

Generated at 10:29 on 10 Oct 2005 by mariachi v0.52