Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

On-the-fly all-languages syntax highlighting

by gmax (Abbot)
on Dec 13, 2003 at 14:08 UTC ( #314528=CUFP: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # CodeSamples.pm
    package CodeSamples;
    ...
    # Notice that $query has nested SQL syntax
    PTEXT
    1;
    
  2. or download this
    #!/usr/bin/perl -w
    # test_vimcolor.pl
    ...
        hr,
        h2("Perl (another package)"),
        pre(Text::VimColor->new(file =>'VimColorCache.pm',  filetype => 'p
    +erl')->html);
    
  3. or download this
    package VimColorCache;
    use strict;
    ...
    Same as Perl itself.
    
    =cut
    
  4. or download this
    #!/usr/bin/perl -w
    # test_vimcolor_cache.pl
    ...
        hr,
        h2("Perl (another package)"),
        pre($vcc->draw('VimColorCache.pm', 'file', 'perl', 'html'));
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: CUFP [id://314528]
Approved by barrd
Front-paged by dbwiz
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (12)
As of 2014-10-30 19:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (208 votes), past polls