in reply to Re: Re: Meditations On HTML In Perl
in thread Meditations On HTML In Perl
What the hell is wrong with using single quotes for html attributes?
Because standards are useful only when they're... well... standard :-)
And doing print "<a href='$foo' style='foo:baz' onClick='stuff'>$xxx</a>" is infintely cleaner then doing print "<a href=\\"$foo\\" style=\\"foo:baz\\" onClick=\\"stuff\\">$xxx</a>"..
This is what qq is there for.
qq!<a href="$foo" style="foo:baz" onClick="stuff">$xxx</a>!
|
|---|