Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • Those are all quoting characters. Additional delimiters in that string are whitespace, comma, equals sign, => and a period for a total of eleven delimiters.

    But quoting in particular is more interesting than delimiting in general. Hofstadter wrote a great book about it. Maybe you've heard of it. :)

    Using different quoting syntax for different contexts makes perfect sense to me. Here's what your example would have looked like in a fake-lisp syntax I'm making up right now:

    (a (href (uri_for "add_size" (product_id (product id)))) "Add new size")

    I tried indenting but it didn't help:

         (product_id (product id))
      "Add new size")