Shell to Perl


Manipulating Files and Directories

  1. File test or -X operators
  2. Running External Programs
  3. Open pipe for reading
  4. Open pipe for writing
  5. Pager
  6. sendmail.pl
  7. UNIX commands from the inside
  8. File globbing (wildcards)
  9. Rename files
  10. Directory handles
  11. File::HomeDir
  12. More UNIX commands implemented in modules
  13. File::Spec
  14. Change Copyright text in every source file in a directory hierarchy
  15. Exercise: Tree
  16. Exercise: Check for UID 0
  17. Exercise: CPU load
  18. Exercise: MANIFEST file
  19. Solutions: Tree
  20. Solutions: Check for UID 0
  21. Solution: CPU load
  22. Solution: MANIFEST file