Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 meditating upon the Monastery: (8)
As of 2015-07-07 05:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (87 votes), past polls