Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!crdgw1!montnaro From: montnaro@spyder.crd.ge.com (Skip Montanaro) Newsgroups: comp.lang.perl Subject: Getting started with Perl is a mystery to me Message-ID: Date: 16 Aug 90 16:28:25 GMT Sender: news@crdgw1.crd.ge.com Reply-To: montanaro@crdgw1.ge.com (Skip Montanaro) Organization: GE Corporate Research & Development, Schenectady, NY Lines: 15 I grabbed the following little pipe off the net some time ago: find dir -print | perl -n -e 'chop;unlink;' I thought, sort of by extension, that the following would work: find dir -print | perl -n -e 'chop;chmod 044;' but the modes of the selected files aren't changed. Why? (In case you hadn't guessed, I'm a Perl novice.) No errors are printed either, so what I've typed is presumably legal Perl-ese. -- Skip (montanaro@crdgw1.ge.com)