[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] GlobalSubs handled differently in MV 4.x than in 3.x
****** message to minivend-users from Mike Heins <mikeh@minivend.com> ******
Quoting Randy Moore (ramoore@axion-it.net):
>
> >Helps me. 8-) I had no idea...it is not something I normally do so
> >I didn't encounter this.
> >
> >But my understanding is that it should work. There are a couple of
> >exceptions, though.
> >
> > - If you are using SQL databases and don't have Safe::Hole installed,
> > then you will have problems.
> >
> > - If the GlobalSub calls any database routines (directly or
> > indirectly) and the database table has not been shared with
> > tables="products arbitrary" or the like, then it will fail.
>
> Hi Mike,
>
> I don't think any of these exceptions apply to what I was doing. I posted
> the full details, including the code for my globalsub earlier (you can see
> it here:
> http://www.minivend.com/minivend/minivend-list/2000/msg03274.html).
>
> The problem seemed to be with object creation. I was getting errors like:
>
> host2.axion-it.com TGsTUTp7:axion-it.com - [26/April/2000:21:46:25 -0400]
> order /cgi-bin/order/process.html Safe: Can't locate object method "new"
> via package "Mail::Sender" at (eval 12) line 12.
>
> Let me know if you are interested in any other details.
Don't need any more. This is a known problem with Safe, and *never* would
have worked under Perl program which used Safe.
I have spoken to this many times in mail messages which should be
duly archived.
--
Internet Robotics, 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mikeh@minivend.com>
Be patient. God isn't finished with me yet. -- unknown
-
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