Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    
    print "Excellent choice! ===> [ @path ]\n";
    
  2. or download this
    Excellent choice! ===> [ kill cow ]
    
  3. or download this
    sub choose {
        my @list = @_;
    ...
        return $tc-> complete
    }
    
  4. or download this
    --- Completion.pm.orig  Sat Feb 23 18:39:15 2013
    +++ Completion.pm       Mon Feb 13 15:06:00 2023
    ...
    +  my @vals = split(/[\s,]+/, $this->{validation});
    
       VALIDATE_OPTIONS: foreach my $val (@vals) {
    
  5. or download this
    Choose (kill select):              # TAB (for choices)
    kill   select
    ...
    Choose (give take_to): take_to     # tTAB (to complete) + TAB or ENTER
    Choose (wood sea desert): desert   # dTAB (to complete) + TAB or ENTER
    Excellent choice! ===> [ select camel take_to desert ]