click below
click below
Normal Size Small Size show me how
Perl
| Question | Answer |
|---|---|
| # | comment |
| print string | |
| $[variable name] | declare variable |
| @[array name] | declare array |
| hash | associative array |
| %[hash name] | declare hash |
| my | formally declares a variable |
| our | formally declares a variable |
| variable | name associated with a value |
| sub [name] {} | declares a subroutine or function |
| chomp | removes EOL characters |
| open ([filevar],[file name]) | open the file name a use file var as reference |
| .pm | extension for PERL module |
| use [module name] | imports a module |
| CPAN | Comprehensive PERL Archive Network |
| BioPerl | open source modules for bioinformatics |
| GCI.pm | module for programming interactive web programs |
| LWP | module for simple http api |
| PDL | module for math and matrices |
| DBI | module for database access |
| GD | module for graphics |