[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Re: wml 2.0.7: ePerl printf



Hi Denis,
> > Am I not allowed to use printf in ePerl?
> You are, but %0 may be expanded because it is inside a tag definition.
> Then write
>    <protect pass=2>
>    printf STDOUT '%02d:%02d:%02d UTC %04d', $hour, $min, $sec, $year;
>    </protect>
I have tried to protect it like:
printf STDOUT '\%02d...' but it didn't work either.

Many thanks it works like expected.

-- 
Dipl.-Ing. Karl Heinz Marbaise | Phone: +49 (241) 4 13 26 - 48
QIS Systemhaus GmbH Aachen     | Fax  : +49 (241) 4 13 26 - 40
Juelicher Strasse 338          | Internet: http://www.qis-systemhaus.de
52070 Aachen                   | e-mail  : kmarbaise@qis-systemhaus.de
______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com