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