File: eslect_fixed

package info (click to toggle)
libshell-posix-select-perl 0.09-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 800 kB
  • sloc: perl: 2,727; makefile: 7
file content (13 lines) | stat: -rwxr-xr-x 237 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /usr/bin/perl -w

my $VERSION = 1.02;

use blib;

use Shell::POSIX::Select qw($Heading);

BEGIN { @ARGV or @ARGV=qw(A B C)  ; }
# select $var[2] ( ) { print "$var[2]\n" }

$Heading='MENU CITY';
select $var (@ARGV) { print "$var\n"; }