[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 Murray Gibbins <murray@scotweb.ltd.uk> ******
Randy Moore wrote:
>
> ****** message to minivend-users from Randy Moore <ramoore@axion-it.net> ******
>
> Hi,
>
> I just wanted to give a warning to anyone converting existing stores from
> MV 3.x to MV 4.x about GlobalSubs.
>
> GlobalSubs are not supposed to be subject to Safe checks, and so, can do
> unSafe things.
> I was able to get around this problem by replacing my GlobalSubs with
> globally defined (in minivend.cfg) UserTags. Since these are not called
> from within Perl, they are still exempt from Safe checking.
>
> If someone can explain the technical details as to why this changed (or
> correct any misconceptions I have above), I'd love to know. It may make it
> easier to know when and if GlobalSubs can still be used for unSafe operations.
Try setting gobal=1 and subs=1 in the [perl] tag!
--
____
\__/ Murray Gibbins murray@scotweb.ltd.uk
/ \ Programmer
_ \__/ _ ================================================
\\ || // Scotweb Limited, info@scotweb.ltd.uk
\\||// 13a Albert Terrace, http://www.scotweb.ltd.uk
\||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33
|| Scotland. Europe. Fax: +44 (0) 7020 93 49 04
-
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