Re: check against two different passwords.

2002-12-23 Thread Rob Dixon
wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > David Gilden wrote: > > > > Hello, > > Hello, > > > in the following > > > > # Goal: check against two different passwords. > > > > #!/usr/bin/perl > > my $qs

Re: check against two different passwords.

2002-12-23 Thread John W. Krahn
David Gilden wrote: > > Hello, Hello, > in the following > > # Goal: check against two different passwords. > > #!/usr/bin/perl > my $qs = 'c'; > my $secret_word = 'a'; > my $secret_word_guest = 'b'; > > if ($qs !~ /$se

RE: check against two different passwords.

2002-12-23 Thread Timothy Johnson
inst two different passwords. Hello, in the following # Goal: check against two different passwords. #!/usr/bin/perl my $qs = 'c'; my $secret_word = 'a'; my $secret_word_guest = 'b'; if ($qs !~ /$secret_word_guest|$secret_word/) { print "fail\n&q

check against two different passwords.

2002-12-23 Thread David Gilden
Hello, in the following # Goal: check against two different passwords. #!/usr/bin/perl my $qs = 'c'; my $secret_word = 'a'; my $secret_word_guest = 'b'; if ($qs !~ /$secret_word_guest|$secret_word/) { print "fail\n"; } else {