Akopia Akopia Services

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

[mv] Globalsub does not work



******    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?

Thanx...

Gabor




-
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: