Akopia Akopia Services

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

[mv] Accessing variables in perl environment (MV4.04)



******    message to minivend-users from Joerg Tietz <jt@bkit.de>     ******

Hey folks,

I'm encountering the following problem:

[currency][perl values]
         my $summe=safe_tag('subtotal');
         return $summe;
[/perl][/currency]

The part with "safe_tag('subtotal')" used to work in MV3.14 just
perfectly and now produces an error message:
Safe: Unable to create sub named "*MVSAFE::safe_tag" at (eval 102) line
2

And $Tag->subtotal() didn't work either. It produces the following error
message:
Safe: Can't use string ("") as a subroutine ref while "strict refs" in
use at /usr/local/minivend/lib/Vend/Parse.pm line 797

And, if I remove the "use strict" in Parse.pm, another error occurs:
Safe: Undefined subroutine &MVSAFE:: called at
/usr/local/minivend/lib/Vend/Parse.pm line 797

What can I do to access the subtotal and total-cost variable in a perl
environment???? HEEEELPPP!!!!

Sincerely,
    Joerg

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