[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] Globalsub does not work
****** message to minivend-users from Mike Heins <mikeh@minivend.com> ******
Quoting Held Gabor (held@egon.gyaloglo.hu):
> ****** message to minivend-users from Held Gabor <held@egon.gyaloglo.hu> ******
>
>
>
> Hi Mike,
>
> thanx a lot for your help last time!
>
> I have now another problem, maybe somebody can help me:
>
> I used a Globalsub function under Minivend 3.14. But it does not work
> under MV 4.03.
>
> I call the function in this way:
> [perl sub]&teszt_gsub[/perl] - I got the error message
> or this way:
> [perl sub]teszt_gsub[/perl] - I see on the page: teszt_gsub, no error message
>
> This is in the minivend.cfg file:
> GlobalSub <<EOF
> sub teszt_gsub
> {
> return("This is a global sub!!!");
> }
> EOF
>
> And this is in the error_log file:
> Safe: Unable to create sub named "*MVSAFE::teszt_gsub" at (eval 127) line 1.
>
> Where could be the mistake?
>
Not reading the docs. [perl subs=1] is right.
--
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