In article <[EMAIL PROTECTED]>,
 [EMAIL PROTECTED] (Chris And Madonna Stalnaker) wrote:

>       $password eq <STDIN>;

eq is a comparison operator not an assignment operator.

you meant

$password = <STDIN>;

always start your scripts with either 

#!/path/to/perl -w
use strict;
# ...

or under Perl 5.6.1

#!/path/to/perl 
require 5.006;# not mandatory here, but the line below does require 5.006
use warnings;
use strict;
# ...

and you'll avoid silly mistakes like this. :-)

-- 
Scott R. Godin            | e-mail : [EMAIL PROTECTED]
Laughing Dragon Services  |    web : http://www.webdragon.net/
It is not necessary to cc: me via e-mail unless you mean to speak off-group.
I read these via nntp.perl.org, so as to get the stuff OUT of my mailbox. :-)

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to