Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

On-the-fly all-languages syntax highlighting

by gmax (Abbot)
on Dec 13, 2003 at 14:08 UTC ( [id://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
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2024-03-28 15:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found