Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks,
My HEREDOC is simple:
printf<<'END'; %U %S %A END
But the output is:
0
%S
%A
What? What happened to the %U? Noticed this with some other chars too, like %X.
version is
perl -v
This is perl 5, version 16, subversion 3 (v5.16.3)
on Windows7
Thanks for any tips.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: HEREDOC weirdness
by AppleFritter (Vicar) on Sep 03, 2014 at 21:28 UTC | |
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 | |
|