1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
Description: Patch viewperl to make it use the actual library we're installing
Author: gregor herrmann <gregoa@debian.org>
Last-Updated: 2007-08-27
--- a/viewperl
+++ b/viewperl
@@ -16,7 +16,7 @@ use strict;
use FileHandle;
use Getopt::Long;
-use Syntax::Highlight::Perl 1.0;
+use Syntax::Highlight::Perl::Improved 1.0;
#=====================================================================
@@ -69,7 +69,7 @@ $PAGER = '| less -rF';
bgwhite => "\e[47m",
);
-$formatter = new Syntax::Highlight::Perl;
+$formatter = new Syntax::Highlight::Perl::Improved;
#
# Set up formatter to do ANSI colors.
@@ -283,7 +283,7 @@ sub process_files {
#
-# Convert module names (eg, Syntax::Highlight::Perl) to
+# Convert module names (eg, Syntax::Highlight::Perl::Improved) to
# fully qualified file names using current state of @INC.
#
# Returns undef on error (file-not-found).
|