From e87397262fea23fa89ba85aa7fe9c848306450ab Mon Sep 17 00:00:00 2001 From: Gurusamy Sarathy Date: Sun, 17 Oct 1999 09:19:24 +0000 Subject: make installperl ignore RCS files (from Michael G Schwern ) p4raw-id: //depot/perl@4398 --- lib/Text/Tabs.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/Text/Tabs.pm b/lib/Text/Tabs.pm index acd7afb7d6..c431019908 100644 --- a/lib/Text/Tabs.pm +++ b/lib/Text/Tabs.pm @@ -7,7 +7,7 @@ require Exporter; @EXPORT = qw(expand unexpand $tabstop); use vars qw($VERSION $tabstop $debug); -$VERSION = 96.121201; +$VERSION = 98.112801; use strict; @@ -18,7 +18,7 @@ BEGIN { sub expand { - my @l = @_; + my (@l) = @_; for $_ (@l) { 1 while s/(^|\n)([^\t\n]*)(\t+)/ $1. $2 . (" " x @@ -32,7 +32,7 @@ sub expand sub unexpand { - my @l = @_; + my (@l) = @_; my @e; my $x; my $line; -- cgit v1.2.1 From 475d79b5e99617ecaabd8d9765f5247b6d49652c Mon Sep 17 00:00:00 2001 From: Gurusamy Sarathy Date: Sun, 17 Oct 1999 18:36:46 +0000 Subject: remove FileHandle from list of PodParser dependencies (the difference is 20 files vs 6 files loaded!) p4raw-id: //depot/perl@4400 --- lib/Pod/Parser.pm | 9 ++++----- lib/Pod/Select.pm | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) (limited to 'lib') diff --git a/lib/Pod/Parser.pm b/lib/Pod/Parser.pm index ab6787d10e..8ef5a59f62 100644 --- a/lib/Pod/Parser.pm +++ b/lib/Pod/Parser.pm @@ -71,7 +71,7 @@ Pod::Parser - base class for creating POD filters and translators =head1 REQUIRES -perl5.004, Pod::InputObjects, Exporter, FileHandle, Carp +perl5.004, Pod::InputObjects, Exporter, Carp =head1 EXPORTS @@ -195,7 +195,6 @@ use strict; #use diagnostics; use Pod::InputObjects; use Carp; -use FileHandle; use Exporter; @ISA = qw(Exporter); @@ -1098,7 +1097,7 @@ sub parse_from_file { my $self = shift; my %opts = (ref $_[0] eq 'HASH') ? %{ shift() } : (); my ($infile, $outfile) = @_; - my ($in_fh, $out_fh) = (undef, undef); + my ($in_fh, $out_fh); my ($close_input, $close_output) = (0, 0); local *myData = $self; local $_; @@ -1119,7 +1118,7 @@ sub parse_from_file { else { ## We have a filename, open it for reading $myData{_INFILE} = $infile; - $in_fh = FileHandle->new("< $infile") or + open($in_fh, "< $infile") or croak "Can't open $infile for reading: $!\n"; $close_input = 1; } @@ -1155,7 +1154,7 @@ sub parse_from_file { else { ## We have a filename, open it for writing $myData{_OUTFILE} = $outfile; - $out_fh = FileHandle->new("> $outfile") or + open($out_fh, "> $outfile") or croak "Can't open $outfile for writing: $!\n"; $close_output = 1; } diff --git a/lib/Pod/Select.pm b/lib/Pod/Select.pm index b933cc2cdf..e634533522 100644 --- a/lib/Pod/Select.pm +++ b/lib/Pod/Select.pm @@ -62,7 +62,7 @@ or =head1 REQUIRES -perl5.004, Pod::Parser, Exporter, FileHandle, Carp +perl5.004, Pod::Parser, Exporter, Carp =head1 EXPORTS -- cgit v1.2.1 From 9e107c5991344ddf58aabfda297612992c5e63cb Mon Sep 17 00:00:00 2001 From: Gurusamy Sarathy Date: Mon, 18 Oct 1999 05:09:22 +0000 Subject: pod updates from Tom Christiansen p4raw-id: //depot/perl@4404 --- lib/Pod/Man.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/Pod/Man.pm b/lib/Pod/Man.pm index 0ed16b627c..87de42efb3 100644 --- a/lib/Pod/Man.pm +++ b/lib/Pod/Man.pm @@ -992,7 +992,7 @@ Pod::Man is a module to convert documentation in the POD format (the preferred language for documenting Perl) into *roff input using the man macro set. The resulting *roff code is suitable for display on a terminal using nroff(1), normally via man(1), or printing using troff(1). It is -conventionally invoked using the driver script B, but it can also +conventionally invoked using the driver script B, but it can also be used directly. As a derived class from Pod::Parser, Pod::Man supports the same methods and @@ -1172,7 +1172,7 @@ B in Perl core. =head1 SEE ALSO -L, perlpod(1), pod2roff(1), nroff(1), troff(1), +L, perlpod(1), pod2man(1), nroff(1), troff(1), man(1), man(7) Ossanna, Joseph F., and Brian W. Kernighan. "Troff User's Manual," @@ -1181,7 +1181,7 @@ the best documentation of standard nroff(1) and troff(1). At the time of this writing, it's available at http://www.cs.bell-labs.com/cm/cs/cstr.html. The man page documenting the man macro set may be man(5) instead of man(7) -on your system. Also, please see pod2roff(1) for extensive documentation on +on your system. Also, please see pod2man(1) for extensive documentation on writing manual pages if you've not done it before and aren't familiar with the conventions. -- cgit v1.2.1