File: get_key_linux.pl

package info (click to toggle)
libterm-choose-perl 1.780-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 568 kB
  • sloc: perl: 5,996; makefile: 7
file content (11 lines) | stat: -rwxr-xr-x 177 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env perl
use warnings;
use strict;
use 5.10.1;
use Term::Choose::Linux;

my $linux = Term::Choose::Linux->new();

my $key = $linux->__get_key_OS( 0 );

say "<$key>";