The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 0.02 - 2014-07-25

  • Add $mode option to encode_js_string() which can be set to 1 to produce single-quoted JS string literal, or 2 to produce single-quoted inside double-quoted JS string literal.

Modules

Utilities for Javascript string literal representation