home *** CD-ROM | disk | FTP | other *** search
/ ftp.cse.unsw.edu.au / 2014.06.ftp.cse.unsw.edu.au.tar / ftp.cse.unsw.edu.au / pub / doc / languages / perl / nutshell / ch4 / chmod < prev    next >
Encoding:
Text File  |  1992-10-18  |  168 b   |  7 lines

  1. $cnt = chmod 0755, 'foo', 'bar';
  2.  
  3. chmod 0755, @executables;
  4.  
  5. @cannot = grep(!(chmod 0755, $_), 'tom', 'dick', 'harry');
  6. die "$0: could not chmod @cannot\n" if @cannot;
  7.