File: viewperl.patch

package info (click to toggle)
libsyntax-highlight-perl-improved-perl 1.01-5.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 424 kB
  • sloc: perl: 1,285; makefile: 2
file content (33 lines) | stat: -rw-r--r-- 928 bytes parent folder | download | duplicates (3)
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).