Snipplrhttp://snipplr.com/language/perl/tags/cpan
Recent snippets posted on Snipplr.comen-usSat, 10 Dec 2016 03:05:55 GMT(Perl) Generate XHTML on the command line with XML::API::XHTML - noahhttp://snipplr.com/view/4971/generate-xhtml-on-the-command-line-with-xmlapixhtml/
Build a simple XHTML document, format it with Tidy and print the result to "temp.html."
You may first need to `cpan XML::API::XHTML`, and install Tidy using your favorite package manager, or just [download Tidy by itself](http://tidy.sourceforge.net/#binaries)
### If you can't install XML::API::XHTML
On my system, CPAN complained that "make test had returned bad status" during installation of XML::API::XHTML. To solve this I started the CPAN shell (just type `cpan`) and then forced the install, like this:
cpan> force XML::API::XHTML ]]>Sun, 10 Feb 2008 02:21:23 GMThttp://snipplr.com/view/4971/generate-xhtml-on-the-command-line-with-xmlapixhtml/(Perl) Fix installing Perl modules on OS X - noahhttp://snipplr.com/view/4009/fix-installing-perl-modules-on-os-x/
On Mac OS X, typing this command into CPAN will fix the make error when installing a Perl module. Found on the CPAN forums.
Here is the error I was getting:
-- NOT OK
Running make test
Can't run test witout successful make
Running make install
make had returned bad status, install seems impossible ]]>Fri, 26 Oct 2007 13:15:37 GMThttp://snipplr.com/view/4009/fix-installing-perl-modules-on-os-x/(Perl) How to start CPAN on Windows/ActivePerl - noahhttp://snipplr.com/view/3718/how-to-start-cpan-on-windowsactiveperl/
ActivePerl has a great package manager utility -- just type "ppm" at the prompt.
The problem is that ActivePerl's PPM points to ActivePerl's package repository, which doesn't contain every module listed on CPAN.
The solution is to invoke the cpan utility under windows! Here's how. ]]>Mon, 17 Sep 2007 10:23:37 GMThttp://snipplr.com/view/3718/how-to-start-cpan-on-windowsactiveperl/