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
Examples (for the impatient)
The examples assume that you have LWP (lib www perl) installed.
command line 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
vim (.vimrc) examples:
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>
perlcritic webservice already exists right?
I understand that a
web service for perlcritic already exists -- please read my explanation in the documentation.