Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: cperl mode, XEmacs, and Test::Inline

by LanX (Saint)
on Mar 22, 2014 at 16:15 UTC ( [id://1079392]=note: print w/replies, xml ) Need Help??


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)

  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Domain Nodelet?
    Node Status?
    node history
    Node Type: note [id://1079392]
    help
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this?Last hourOther CB clients
    Other Users?
    Others musing on the Monastery: (4)
    As of 2024-04-19 17:53 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found