ddrumguy has asked for the wisdom of the Perl Monks concerning the following question:
next; } print "Do you want to submit Job A? "; chomp ($question = <STDIN>); # Submitting Job A unless ($question=~ /yes||y/gi) { die"Goodbye\n";} else { print "Are You Sure? "; } chomp ($question2= <STDIN>); if ($question2=~ /yes||y/gi) { print "You said YES !\n"; } else { exit }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: I think I'm close...
by japhy (Canon) on Mar 01, 2002 at 16:52 UTC | |
by ropey (Hermit) on Mar 01, 2002 at 17:21 UTC | |
by ddrumguy (Acolyte) on Mar 01, 2002 at 17:36 UTC | |
by grummerX (Pilgrim) on Mar 01, 2002 at 21:08 UTC | |
by dmouille (Novice) on Mar 01, 2002 at 21:16 UTC | |
|
Re: I think I'm close...
by VSarkiss (Monsignor) on Mar 01, 2002 at 17:30 UTC |