in reply to HEREDOC weirdness
You're using printf, not print, so your heredoc actually specifies a format string. Is that on purpose?
Note that %U is one of the formats recognized by printf, BTW, as is %X; OTOH, %S and %A aren't, so they're printed unmodified.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: HEREDOC weirdness
by Anonymous Monk on Sep 03, 2014 at 21:30 UTC | |
by AppleFritter (Vicar) on Sep 03, 2014 at 21:33 UTC | |
by AnomalousMonk (Archbishop) on Sep 04, 2014 at 01:21 UTC | |
by AppleFritter (Vicar) on Sep 04, 2014 at 09:47 UTC | |
by LanX (Saint) on Sep 04, 2014 at 10:07 UTC | |
by kennethk (Abbot) on Sep 04, 2014 at 14:58 UTC | |
|