[ic] IC tag in UserTag
Stefan Hornburg
racke at linuxia.de
Sun Oct 5 12:21:35 EDT 2003
On Sat, 4 Oct 2003 13:35:17 -0700
"Grant" <listbox at email.com> wrote:
>
> > > I need to include the time tag in a block of XML in a UserTag.
> > How can I
> > > write this in Perl inside a UserTag:
> > >
> > > <LastModifiedTime>[time gmt="1" adjust="-1"]%Y-%m-%d
> > > %H:%M:%S[/time]</LastModifiedTime>
> >
> > $Tag->time({gmt => 1, adjust => -1, body => '%Y-%m-%d %H:%M:%S'});
> >
> > Ciao
> > Racke
>
> Stephen and Ed -
>
> Using either of the methods you guys suggested, I get this:
>
> Vend::Tags=HASH(0x95510f0)->time( { gmt => '1', adjust => '-1' } '%Y-%m-%d
> %H:%M:%S' )
>
> Who's got the cure?
I think your problem is that function calls are not interpolated within strings.
Bye
Racke
--
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team
More information about the interchange-users
mailing list