in reply to cperl mode, XEmacs, and Test::Inline

Excellent question ... did you solve it in the meantime?

IMHO a problem for all editors and a good argument against using POD for such stuff.

a syntax like

TEST { my $obj = foo(); is($obj, "blatz", "beer run(s)"); };

could have solved this easily...

update

concerning this special problem, I'd just create a little LISP routine to toggle the POD to comments

=begin test <-> #=begin test

Thats pretty easily implemented w/o Lisp knowledge:

  • define a macro to use two regex
  • display lisp-code of macro
  • write lisp-function to .el file
  • assign function to hotkey

    Cheers Rolf

    ( addicted to the Perl Programming Language)