Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [ic] Embedding Perl Problem



"Dallas Vogels" <dvogels@forestind.com> writes:

> 	------------------------------------------
> 	[perl]
> 		$Config->{PriceField} = 'can_price';
> 	[perl]
> 	------------------------------------------
> 
> 	The code sits in a HTML page however the text 'can_price' (with out the
> single quotes) is output on the HTML page.  How do I stop this from
> happening?

The [perl] tag outputs the page the result of the last command
executed inside the tags (much like the return value of a perl
subroutine).  I think common practice is to 'return "";' as the last
part of your [perl] tag if you don't want any output in your page.
-- 
 (__)  Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net)
 oo /  Unix Hacker
 |_/   "It's too late for paradise" (at least in this life)


_______________________________________________
Interchange-users mailing list
Interchange-users@www.minivend.com
http://www.minivend.com/mailman/listinfo/interchange-users


Search for: Match: Format: Sort by: