[% setvar title Tweak POD's CEE %]

This file is part of the Perl 6 Archive

Note: these documents may be out of date. Do not use as reference!

To see what is currently happening visit http://www.perl6.org/


Tweak POD's C<>


  Maintainer: Simon Cozens <simon@brecon.co.uk>
  Date: 24 Sep 2000
  Mailing List: perl6-language@perl.org
  Number: 280
  Version: 1
  Status: Developing


C<> is not as intuitive as it could be.


In Perl 5.6.0, we altered the behaviour of the C<> construct in POD, so that you could say C<< ... >> to avoid the problem that

    C<< $foo->bar >>

would be ended by the arrow.

However, this isn't too Perlish, and there's an easier solution; give the C<> the same semantics as a single quoted string with q//. That is:

  • Do away with the need to escape stuff inside C<>, because that stops you cutting and pasting the code.
  • Allow the use of alternate delimiters to avoid the arrow problem.
  •     C<$xyz>


Just some tweaks to POD::Parser, haha.