Using Perl on bama

The path to the Perl interpreter on bama is /usr/local/bin/perl, so most scripts will need to have the first line:  
#!/usr/local/bin/perl

We have also installed a variety of add-on modules to perl. To see if we have the module you need, log onto bama and use the command
perldoc modulename

The best way to get help with Perl is go out and buy a book, such as "Learning Perl" by O'Reilly and Associates. However, there is a large selection of man pages on Perl which you can access directly from bama. The list of pages is given when you do a "man perl" and is presented here. Following a link from here will also show you the man page. (If you're intending to read these straight through for the first time, the suggested order will tend to reduce the number of forward references.)

  1. perl: Perl overview
  2. perldelta: Perl changes since previous version
  3. perlfaq: Perl frequently asked questions
  4. perlfaq1: Perl frequently asked questions
  5. perlfaq2: Perl frequently asked questions
  6. perlfaq3: Perl frequently asked questions
  7. perlfaq4: Perl frequently asked questions
  8. perlfaq5: Perl frequently asked questions
  9. perlfaq6: Perl frequently asked questions
  10. perlfaq7: Perl frequently asked questions
  11. perlfaq8: Perl frequently asked questions
  12. perlfaq9: Perl frequently asked questions
  13. perldata: Perl data structures
  14. perlsyn: Perl syntax
  15. perlop: Perl operators and precedence
  16. perlre: Perl regular expressions
  17. perlrun: Perl execution and options
  18. perlfunc: Perl builtin functions
  19. perlvar: Perl predefined variables
  20. perlsub: Perl subroutines
  21. perlmod: Perl modules: how they work
  22. perlmodlib: Perl modules: how to write and use
  23. perlform: Perl formats
  24. perllocale: Perl locale support
  25. perlref: Perl references
  26. perldsc: Perl data structures intro
  27. perllol: Perl data structures: lists of lists
  28. perltoot: Perl OO tutorial
  29. perlobj: Perl objects
  30. perltie: Perl objects hidden behind simple variables
  31. perlbot: Perl OO tricks and examples
  32. perlipc: Perl interprocess communication
  33. perldebug: Perl debugging
  34. perldiag: Perl diagnostic messages
  35. perlsec: Perl security
  36. perltrap: Perl traps for the unwary
  37. perlstyle: Perl style guide
  38. perlpod: Perl plain old documentation
  39. perlbook: Perl book information
  40. perlembed: Perl ways to embed perl in your C or C++ application
  41. perlapio: Perl internal IO abstraction interface
  42. perlxs: Perl XS application programming interface
  43. perlxstut: Perl XS tutorial
  44. perlguts: Perl internal functions for those doing extensions
  45. perlcall: Perl calling conventions from C