![]() |
|
Do you know where your variables are? | |
PerlMonks |
Re^4: what would you like to see in perl5.12?by JavaFan (Canon) |
on Aug 07, 2008 at 16:26 UTC ( #702928=note: print w/replies, xml ) | Need Help?? |
printf "%{" is legal, and prints %{. With warnings on, it does issue a warning, but it's (currently) not illegal.
But your initial proposal talked about interpolating in strings, and in strings, "%{hash}" is currently fine. No warnings. I'd be more worried about regular strings 'breaking' than any (s)printf formats.
In Section
Meditations
|
|