[ic] IC won't parse in Perl

Jon Jensen interchange-users@icdevgroup.org
Fri Jun 7 19:24:00 2002


On Fri, 7 Jun 2002, G Guttero wrote:

> I've got the following in the middle of a bunch of Perl on my check_orders 
> page:
> 
> Please <a href=\"[area login]\">click here</a> to log in.
> 
> And the URL comes out as ".../[area login]" right in the address bar.  Is 
> there any way to make IC parse that?

You can either set interpolate=1 in the [perl] tag, or better yet, use the 
Perl call for the tag:

'Please <a href="' . $Tag->area('login') . '">click here</a> to log in'

Jon