/usr/share/vile/perl/Visit.pm is in vile-common 9.8s-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | package Visit;
require 5.000;
require Exporter;
use strict;
use Carp;
use vars qw(@ISA @EXPORT);
@ISA = qw(Exporter);
@EXPORT = qw(visit);
sub visit {
my ( $fname, @dot ) = @_;
croak "visit: No filename!" if !defined($fname);
my $visbuf = Vile::Buffer->edit($fname);
$visbuf->dot(@dot) if ( @dot == 1 ) || ( @dot == 2 );
Vile->current_buffer($visbuf);
1;
}
1;
__DATA__
=head1 NAME
Visit - visit a file in vile
=head1 SYNOPSIS
use Visit;
&visit("filename", 1);
=head1 DESCRIPTION
The B<Visit> module is used by C<hgrep> to visit a given line and column in
a file.
=head1 AUTHOR
Kevin Buettner
=cut
|