All the Perl that's Practical to Extract and Report

Navigation

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Without JavaScript enabled, you might want to
use the classic discussion system instead. If you login, you can remember this preference.

where the qq filter would add the leading and trailing quotes and would take care of any necessary entity-escaping. It hardly contributes to the original intent of your note, but it improves on the correctness of producing HTML attribute values. (The assumption "this never has characters that need escaping" is an invitation for future pain.)