From 33280055c72fd53c4f85db213d7415ca0a064a7e Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 23 Aug 1999 21:01:21 +0000 Subject: no_comment --- perl-install/commands.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'perl-install/commands.pm') diff --git a/perl-install/commands.pm b/perl-install/commands.pm index 4a4340f2f..44a49a17f 100644 --- a/perl-install/commands.pm +++ b/perl-install/commands.pm @@ -23,6 +23,8 @@ sub getopts { @r; } +sub true { exit 0 } +sub false { exit 1 } sub cat { @ARGV = @_; print while <> } sub which { ARG: foreach (@_) { foreach my $c (split /:/, $ENV{PATH}) { -x "$c/$_" and print("$c/$_\n"), next ARG; }}} sub dirname_ { print dirname(@_), "\n" } -- cgit v1.2.1