Please help me.
I dont want to go through this.
$rep=<stdin>; chomp $rep;
$rep=~tr/Yy/1/;
if ($reponse==1) { }
I would like to know how to make the script accept only "Y" as its answer. I've been told perl does not recognize letters. I've heard it can be done by something like this.
EX:
rep=<stdin>; chomp $rep;
&answer unless $rep;
if ($reponse=='0x21') { }
which '0x21' will equal to "Y" (and not "y"
How can I get a list of that type!
PLEASE HELP ME!! IT WILL BE VERY APPRECIATED
THANKS IN ADVANCE FOR ANY HELP Knowledge is the first step to Greatness!!!
I dont want to go through this.
$rep=<stdin>; chomp $rep;
$rep=~tr/Yy/1/;
if ($reponse==1) { }
I would like to know how to make the script accept only "Y" as its answer. I've been told perl does not recognize letters. I've heard it can be done by something like this.
EX:
rep=<stdin>; chomp $rep;
&answer unless $rep;
if ($reponse=='0x21') { }
which '0x21' will equal to "Y" (and not "y"
How can I get a list of that type!
PLEASE HELP ME!! IT WILL BE VERY APPRECIATED
THANKS IN ADVANCE FOR ANY HELP Knowledge is the first step to Greatness!!!