[Bangalore-pm] CPAN source code syntax highlighter

Chankey Pathak chankey007 at gmail.com
Mon Sep 2 01:23:11 PDT 2013


Yes, I was about to say the same.

There you have the "Source" and "Source (Raw)" option.

Example:

https://metacpan.org/source/RJBS/perl-5.18.1/lib/File/Copy.pm
http://api.metacpan.org/source/RJBS/perl-5.18.1/lib/File/Copy.pm


On Mon, Sep 2, 2013 at 1:49 PM, Kiran Kumar <mkirank at gmail.com> wrote:

> https://metacpan.org/
>    Has a lot of new features and syntax highlighting enabled .
>
>
> On Sun, Sep 1, 2013 at 1:56 PM, SundaraRaman R <sundaryourfriend at gmail.com
> > wrote:
>
>> Hi,
>>
>> I frequently view the source of modules I use on CPAN (since
>> documentation doesn't say enough in many cases), and wished for improved
>> readability of those pages. So I've written a small userscript that enable
>> syntax highlighting on CPAN source pages (
>> http://cpansearch.perl.org/src/*).
>>
>> It's called CPANSyntaxHighlight (
>> http://userscripts.org/scripts/show/176984) and can be installed either
>> using Greasemonkey on Firefox (
>> https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/) or
>> Tampermonkey on Chrome (
>> https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=en).
>>
>>
>> Hope someone finds this useful, and thanks to
>> http://softwaremaniacs.org/soft/highlight/en/ for providing the actual
>> syntax highlighting code!
>>
>> C
>> heers,
>> Sundar
>>
>>
>>
>> --
>> ! Knowing others is intelligence; knowing yourself is true wisdom.
>> Mastering others is strength; mastering yourself is true power.
>> http://www.google.com/profiles/sundaryourfriend
>>
>>
>> _______________________________________________
>> Bangalore-pm mailing list
>> Bangalore-pm at pm.org
>> http://mail.pm.org/mailman/listinfo/bangalore-pm
>>
>
>
> _______________________________________________
> Bangalore-pm mailing list
> Bangalore-pm at pm.org
> http://mail.pm.org/mailman/listinfo/bangalore-pm
>



-- 
Regards,
Chankey Pathak <http://www.linuxstall.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/bangalore-pm/attachments/20130902/7833caeb/attachment.html>


More information about the Bangalore-pm mailing list