Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: Thank You! Re: [mv] Wishlist, request for namespace



******    message to minivend-users from Mike Heins <mikeh@minivend.com>     ******

Quoting cfm@maine.com (cfm@maine.com):
> On Sun, Jul 23, 2000 at 07:08:15AM -0400, Mike Heins wrote:
> > ******    message to minivend-users from Mike Heins <mikeh@minivend.com>     ******
> > 
> > Quoting cfm@maine.com (cfm@maine.com):
> > > ******    message to minivend-users from cfm@maine.com     ******
> > > 
> > > 
> > > I'd like to put these on wishlist ;^)
> > > 
> > > 1)
> > > We've been building our custom minivend libraries in lib/Vend and
> > > now wish to move them out to /usr/lib/perl5/MV because we want to share
> > > them with other non-minivend scripts.  That's a bigger than minivend 
> > > issue, but we can risk it; I'm mostly concerned that minivend not claim
> > > that space.  With name change, maybe that is moot?
> >
> > I don't understand all of this. There is nothing at all stopping you
> > from:
> > 
> >     cp -ra /usr/local/minivend/lib/Vend /usr/lib/perl5/site_perl
> 
> 
> I must have written that all wrong because someone else replied in
> similar vein.  What I want is to guarantee that if we build a module 
> MV::Extra.pm there will never be a conflict within minivend.  
> Right now @INC would find either /usr/lib/perl5/MV/Extra and
> /var/mvend403/lib/MV/Extra and not in order we'd want: 
> /var/mvend403 /var/mvend403/lib /usr/lib/perl5/5.005/i386-linux 
> /usr/lib/perl5/5.005 /usr/local/lib/site_perl/i386-linux /usr/local/lib/site_perl
> /usr/lib/perl5 .
> That would be a mess if the distribution included a MV::Extra.pm.  Naturally
> this did not occur to us **before** we started putting things in that structure,
> so, <ahem>, can you promise never to use MV::*.pm?

At this point, yes -- I can't speak for others, though. 8-) A guaranteed
approach is to do:

UserTag blah ....
use lib '/it/MUST/be/here';
sub {
...

which will hammer anything in the base program.

-- 
Akopia, Inc., 131 Willow Lane, Floor 2, Oxford, OH  45056
phone +1.513.523.8220 fax 7501 <heins@akopia.com>

My wife is great.  She doesn't care where I go, just as long as I don't
have any fun.  -- Lee Trevino
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: