[ic] Error perl script to upgrate 4.9

Ed LaFrance edl at newmediaems.com
Fri Jan 16 12:13:25 EST 2004


At 03:57 PM 1/16/2004 +0100, you wrote:
>Stefano Kerschbaumer - Interline S.r.l. wrote:
>>
>>[snip]



>This is the line error and is the total cost of the order
>
>my $price = $Tag->total_cost({noformat => 1,});
>
>
>It's another command to have this value ?
>
>Sorry for the english ;-)
>
>Saluti Stefano

I've had to do this in interchange.cfg:

AllowGlobal my_catalog_name

(restart interchange)

...then in your perl block:

[perl tables="(your list of tables)" global=1]
...
[/perl]

...and then I can use $Tag->total_cost() in [perl]. I am usure what it is 
about the tag that forces the use of global.

- Ed L.


===============================================================
New Media E.M.S.              Technology Solutions for Business
11630 Fair Oaks Blvd., #250   eCommerce | Consulting | Hosting
Fair Oaks, CA  95628          edl at newmediaems.com
(916) 961-0446                http://www.newmediaems.com
(866) 519-4680 Toll-Free      (916) 961-0447 Fax
=============================================================== 



More information about the interchange-users mailing list