- or download this
# CodeSamples.pm
package CodeSamples;
...
# Notice that $query has nested SQL syntax
PTEXT
1;
- 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);
- or download this
package VimColorCache;
use strict;
...
Same as Perl itself.
=cut
- or download this
#!/usr/bin/perl -w
# test_vimcolor_cache.pl
...
hr,
h2("Perl (another package)"),
pre($vcc->draw('VimColorCache.pm', 'file', 'perl', 'html'));