[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pod2text again



On Mon, Jun 14, 1999 at 05:14:35PM +0300, Stanislav Malyshev a.k.a Frodo wrote:
> I've upgraded to RH 6 on my machine (don't ask me why :), and discovered
> that new Perl package lacks pod2text, which is required for building some
> packages (e.g., DBD::mysql). Since someone asked about this here, here is
> the solution: install package Pod::SimpleText and link pod2txt to
> pod2text. The pod2text (or, more precisely, Pod->Text convertor) got
> rewritten, just nobody seems to notice it until something breaks.

Aww, just
	# cat>/usr/bin/pod2text
	#!/usr/bin/perl
    	eval 'exec /usr/bin/perl -S $0 ${1+"$@"}'
        	if $running_under_some_shell;
	
	use Pod::Text;
	
	if(@ARGV) {
        	pod2text($ARGV[0]);
	} else {
        	pod2text("<&STDIN");
	}
already :-)


perl -le 'print "Just another \u$^X hacker,"'

-- 
believing is seeing
gaal@forum2.org
http://www.fourm2.org/gaal/