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

wml 2.0.7: ePerl printf



Hi there,

i just have a little problem with WML.

Here little cut out of my code:

  my $output = $weekdays{'de'}{'short'}[$wday] . " " .
               $month{'de'}{'short'}[$mon] . " " .
               $mday . " ";
  $output = $output . sprintf ('%2d', $hour);
  print $output;
  printf STDOUT '%02d:%02d:%02d UTC %04d', $hour, $min, $sec, $year;

My questions is now, why does the simple print $output
work correctley but the printf STDOUT does only produce
"d:d:d UTC d" in output HTML file?
Am I not allowed to use printf in ePerl?

Thanks in advance.
-- 
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