Re: Crypt:: or ???

2002-05-24 Thread Egor Brandt
but I wanna know everybody's password... I can't do without decrypting them, can I, or are they gonna tell me when I simply ask? For usernames and passwords, 'crypt' should be sufficient. perldoc -f crypt Also, please note that there really is no reason to be able to decrypt passwords. --

Learning Perl, chapter 8: pattern_test

2001-12-19 Thread Egor Brandt
HI! Studying 'Learning Perl, 3rd edition' I was stopped, suddenly, by C. 8's Exercise 1, using the pattern_test program. the following works fine: #!/usr/bin/perl -w while (< alfred >) { if (/fred/) { print "matched: |$`<$&>$'|\n"; } else { print "no match.\n"; } } but when I try the followi