I get this error...#!/usr/bin/perl $key=`read -n3 key; echo \$key`; print "$key\n";
read: 1: Illegal option -n
In reply to Re^2: Translating Terminal Input Code from Bash to Perl
by Anonymous Monk
in thread Translating Bash to Perl
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |