Akopia Akopia Services

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

Re: [mv] MV3 -> MV4 strangeness



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

Quoting Dan Busarow (dan@dpcsys.com):
> ******    message to minivend-users from Dan Busarow <dan@dpcsys.com>     ******
> 
> On Mon, 10 Apr 2000, Mike Heins wrote:
> > > Vend::Session:debug: write session id=6kTFK6ZC  name=6kTFK6ZC:dpcsys.com
> > > 
> > > Global symbol "$VAR1" requires explicit package name at (eval 102) line 63, <UNEV> chunk 1.
> > 
> > Hmm. Looks like you are using Data::Dumper but are slipping out of Terse
> > mode. That is causing the problem. Do you have a usertag or subroutine
> > which uses Data::Dumper and plays with globals?
> > 
> > If you are running with -DEBUG or DebugFile, turn that off and see if
> > it makes a difference.
> > 
> > Changing to Storable for sessions would solve that problem completely,
> > and would give you extra speed as well. I must admit I have totally changed
> > to Storable and don't test much with Data::Dumper.
> 
> Changing to Storable did the trick.  Thanks Mike!!
> 
> I think this probably deserves a comment in WHATSNEW, especially
> since you need to add the env variable to make it work.

Actually, all you need to do is touch the file _db_storable and/or
_session_storable in the Minivend root directory. (You can set databases
and sessions separately to use Storable. DBM databases will need to be rebuilt
if you change _db_storable.)

Are you sure you didn't have a UserTag or GlobalSub using Data::Dumper?
I can't see where MV would cause this itself, and I run with it on
at least one high-volume site without crashes.

-- 
Internet Robotics, 131 Willow Lane, Floor 2, Oxford, OH  45056
phone +1.513.523.7621 fax 7501 <mikeh@minivend.com>

If you think nobody cares if you're alive, try missing a couple of
car payments.  -- Earl Wilson
-
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: