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>!
In reply to Re^3: Meditations On HTML In Perl
by adrianh
in thread Meditations On HTML In Perl
by tadman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |