MidLifeXis has asked for the wisdom of the Perl Monks concerning the following question:
All,
Using XEmacs 21.4, cperl-mode, and Test::Inline blocks between =begin testing / =end testing blocks, has anyone made emacs treat the stuff between the =begin testing / =end testing blocks font lock and indent as perl code?
I would like a block like this...
=begin testing my $obj = foo(); is($obj, "blatz", "beer run(s)"); =end testing
... to act like ...
=begin testing =cut my $obj = foo(); is($obj, "blatz", "beer run(s)"); =end testing
... as far as cperl is concerned, but not use the =cut explicitly, since then perl chokes on it :)
Before I dig into the cperl source, I want to see if this river has already been crossed by another user.
--MidLifeXis
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: cperl mode, XEmacs, and Test::Inline
by Fletch (Bishop) on May 11, 2005 at 15:17 UTC | |
|
Re: cperl mode, XEmacs, and Test::Inline
by LanX (Saint) on Mar 22, 2014 at 16:15 UTC |