Perl Monk, Perl Meditation | |
PerlMonks |
Re: How can I have pie slice labels for GD::Graph::pie recognize newline characters?by starbolin (Hermit) |
on Jul 04, 2008 at 04:26 UTC ( [id://695511]=note: print w/replies, xml ) | Need Help?? |
From the doc for GD::stringFT(): "Another thing to watch out for is that successive lines of text should be separated by the "\r\n" characters, not just "\n"."
s//----->\t/;$~="JAPH";s//\r<$~~/;{s|~$~-|-~$~|||s |-$~~|$~~-|||s,<$~~,<~$~,,s,~$~>,$~~>,, $|=1,select$,,$,,$,,1e-1;print;redo}
In Section
Seekers of Perl Wisdom
|
|