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.)
- perl: Perl overview
- perldelta: Perl changes since previous version
- perlfaq: Perl frequently asked questions
- perlfaq1: Perl frequently asked questions
- perlfaq2: Perl frequently asked questions
- perlfaq3: Perl frequently asked questions
- perlfaq4: Perl frequently asked questions
- perlfaq5: Perl frequently asked questions
- perlfaq6: Perl frequently asked questions
- perlfaq7: Perl frequently asked questions
- perlfaq8: Perl frequently asked questions
- perlfaq9: Perl frequently asked questions
- perldata: Perl data structures
- perlsyn: Perl syntax
- perlop: Perl operators and precedence
- perlre: Perl regular expressions
- perlrun: Perl execution and options
- perlfunc: Perl builtin functions
- perlvar: Perl predefined variables
- perlsub: Perl subroutines
- perlmod: Perl modules: how they work
- perlmodlib: Perl modules: how to write and use
- perlform: Perl formats
- perllocale: Perl locale support
- perlref: Perl references
- perldsc: Perl data structures intro
- perllol: Perl data structures: lists of lists
- perltoot: Perl OO tutorial
- perlobj: Perl objects
- perltie: Perl objects hidden behind simple variables
- perlbot: Perl OO tricks and examples
- perlipc: Perl interprocess communication
- perldebug: Perl debugging
- perldiag: Perl diagnostic messages
- perlsec: Perl security
- perltrap: Perl traps for the unwary
- perlstyle: Perl style guide
- perlpod: Perl plain old documentation
- perlbook: Perl book information
- perlembed: Perl ways to embed perl in your C or C++ application
- perlapio: Perl internal IO abstraction interface
- perlxs: Perl XS application programming interface
- perlxstut: Perl XS tutorial
- perlguts: Perl internal functions for those doing extensions
- perlcall: Perl calling conventions from C

