X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2Fcomplete.pl;h=925ce86e5da266f79389c66562613031ea609959;hb=aa10195b3aa19bb4f167204cdce8fb75d361ccb8;hp=335245269cc28f07d6a2d9de4431def8686912b5;hpb=55497cffdd24c959994f9a8ddd56db8ce85e1c5b;p=p5sagit%2Fp5-mst-13.2.git diff --git a/lib/complete.pl b/lib/complete.pl index 3352452..925ce86 100644 --- a/lib/complete.pl +++ b/lib/complete.pl @@ -1,4 +1,13 @@ ;# +# +# This library is no longer being maintained, and is included for backward +# compatibility with Perl 4 programs which may require it. +# +# In particular, this should not be used as an example of modern Perl +# programming techniques. +# +# Suggested alternative: Term::Complete +# ;# @(#)complete.pl,v1.1 (me@anywhere.EBay.Sun.COM) 09/23/91 ;# ;# Author: Wayne Thompson @@ -75,7 +84,8 @@ sub Complete { # (^U) kill $_ eq $kill && do { if ($r) { - undef($r, $return); + undef $r; + undef $return; print("\r\n"); redo LOOP; }