Sometimes, you just can't install Perl::Tidy or Perl::Critic on a server but you really want to leverage them.
These web services accept your code as input and can be invoked from the command line or from within your favorite text editor (vim examples provided).
Please read the documentation for each tool at my website. perlster.com
The examples assume that you have LWP (lib www perl) installed.
command line examples:vim (.vimrc) examples:lwp-request -m POST http://perlster.com/tools/perlcritic/service.pl < +your_code lwp-request -m POST http://perlster.com/tools/perltidy/service.pl < yo +ur_code
map <F5> :! lwp-request -m POST http://perlster.com/tools/perlcritic/s +ervice.pl < %<CR> map <F4> :%! lwp-request -m POST http://perlster.com/tools/perltidy/se +rvice.pl<CR>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: perltidy and perlcritic web service
by jthalhammer (Friar) on Oct 19, 2007 at 04:56 UTC | |
by eltrab (Novice) on Nov 12, 2007 at 19:47 UTC | |
|
Re: perltidy and perlcritic web service
by elwarren (Priest) on Oct 29, 2007 at 15:56 UTC | |
by eltrab (Novice) on Nov 12, 2007 at 19:44 UTC |