[ic] perl question
Ed LaFrance
interchange-users@icdevgroup.org
Sat Apr 26 11:07:01 2003
At 03:49 PM 4/26/2003 +0100, you wrote:
>When I try the following:
>
>[perl]
> my $shipping = l0;
> $Tag->assign( { shipping => $shipping, } );
>[/perl]
>
>I get the following error:
>
>192.168.0.65 Aks9w66d:192.168.0.65 - [26/April/2003:15:49:33 +0100]
>violinshop /cgi-bin/violinshop/ord/checkout.html Attempted assign of
>non-numeric 'l0' to shipping. Deleted.
>
>Can anyone tell me what I'm doing wrong?
>
>TIA.
>
>Chris
l0 vs. 10
...see the difference? You used a lower-case 'l' in place of the number '1'
in your code.
- Ed L.
===============================================================
New Media E.M.S. Technology Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================