[ic] Help printing a interchange variable (or whatever it's called)

Kevin Old interchange-users@icdevgroup.org
Thu Jan 9 12:17:01 2003


On Thu, 2003-01-09 at 11:03, Interchange server wrote:
> On Thu, 2003-01-09 at 15:33, Kevin Old wrote:
> 
> KO> I'm a very experience Perl programmer and am getting frustrated
> KO> cause I'm not fully understanding the basics of the ITL.
> KO> Here's an example - printing a variable....
> 
> Racke> [scratch weight]
> 
> KO> Tried that, doesn't work. [...]
> KO> Any other suggestions?
> 
> What worked best for me (so far) is doing most things in Perl, and only
> using ITL occasionally. Bit by bit I've picked up on some tags that I
> *really* needed.
> 
> grtz
> MRJB

Well, I've tried that too....

[perl]print $weight;[/perl]

also tried:

[perl]return $weight;[/perl]

and even tried

[perl]print $Scratch->{weight};[/perl]

This is what I get from error.log:

172.16.16.10 QUXsByaf:172.16.16.10 - [08/January/2003:23:20:17 -0500]
entermagic
dev /cgi-bin/entermagicdev/ord/checkout.html Safe: print trapped by
operation ma
sk at (eval 1003) line 1.
>
>  print $weight;
>

I know I'm close....any other suggestions?

Thanks,
Kevin

-- 
Kevin Old <kold@carolina.rr.com>