Akopia Akopia Services

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

Re: [mv] MV4.04: Problem accessing variables via safe_tag



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

Stefan Hornburg wrote:

> > [currency][perl values]
> >         my $summe=safe_tag('subtotal');
> >         ...
> >         return $summe;
> > [/perl][/currency]
>
> Read the docs !! I think $Tag->subtotal() should work.

Nope, that 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: