[ic] %Safe hash (was: Is an order E-Mail Receipt available as a CSV file?)

Kevin Walsh kevin at cursor.biz
Thu Oct 9 13:23:11 EDT 2003


Joachim Leidinger [joachim at Leidinger.net] wrote:
>
> [perl arg="scratch"]
>          $b = '[item-field unit]' * 1;
>          $d = '[item-quantity]' * 1;
>          $Safe{'scratch'}->{'quantitytotal'} = $b * $d;
>          $Safe{'scratch'}->{'count'} += 1;
> return '';
> [/perl]
>
Note that the %Safe hash was deprecated a long time ago and may be
removed at any time - quite possibly before 5.0.0 is released.

Please replace $Safe{'scratch'} with $Scratch, in your code, in order
to bring it up to date.  The same goes for any other use of the %Safe
hash in your Perl.  You can also remove the arg="scratch" from your
[perl] argument list.

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    kevin at cursor.biz
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/



More information about the interchange-users mailing list