I just wrote a little javascript "bookmarklet" for Firefox that may be useful for the community. So I'm posting it here (well, on github).
This simple script changes a cpansearch.org source view so that it's syntax highlighted. Besides, it turns package names to links to search.cpan.org.
Why? I just end up reading a lot of source code from the cpan website. I thought a little coloring would make my life easier.
To use it, first try it by opening a source view of a cpan module. Then paste the javascript code in your location bar.
The bookmarklet is kept here. I recommend cpan_sh.js as it puts links on packages that allow you to navigate the CPAN.
cheers,
-rodrigo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: cpan source highlighting
by Anonymous Monk on Sep 13, 2009 at 17:35 UTC | |
|
Re: cpan source highlighting
by hma (Pilgrim) on Sep 15, 2009 at 09:58 UTC | |
|
Re: cpan source highlighting (metacpan)
by toolic (Bishop) on Nov 16, 2011 at 17:57 UTC | |
|
Re: cpan source highlighting
by leocharre (Priest) on Sep 16, 2009 at 16:08 UTC | |
by rodd (Scribe) on Sep 18, 2009 at 02:02 UTC | |
by leocharre (Priest) on Sep 18, 2009 at 13:37 UTC | |
by rodd (Scribe) on Dec 01, 2009 at 01:19 UTC | |
by merlponk (Scribe) on Sep 17, 2009 at 06:06 UTC | |
by Anonymous Monk on Sep 16, 2009 at 16:24 UTC |