[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] Accessing variables in perl environment (MV4.04)
****** message to minivend-users from Stefan Hornburg <racke@linuxia.de> ******
Joerg Tietz <jt@bkit.de> writes:
> ****** 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
Try
$Tag->subtotal ('main');
See the tag reference on subtotal for more information.
Ciao
Racke
--
LinuXia Systems && Cobolt NetServices, eCommerce and more
Shop- und Datenbanklösungen mit MiniVend, Firewalls auf Debian-Basis
http://www.linuxia.de - http://www.cobolt.net
--> Junior Officer of the MiniVend/Interchange Bug Patrol <---
-
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