Perl programming on MPE/iX - February 2001
February 9, 2001
Solution Symposium
Page 22
hp e3000
perl
programming
built-in functions - a partial list
• Functions for SCALARs or strings
• chomp, chop, chr, crypt, hex, index, lc, lcfirst, length, oct, ord, pack,
q/STRING/, qq/STRING/, reverse, rindex, sprintf, substr, tr///, uc,
ucfirst, y///
• Regular expressions and pattern matching
• m//, pos, quotemeta, s///, split, study, qr//
• Numeric functions
• abs, atan2, cos, exp, hex, int, log, oct, rand, sin, sqrt, srand
• Functions for real @ARRAYs
• pop, push, shift, splice, unshift
• Functions for list data
• grep, join, map, qw/STRING/, reverse, sort, unpack
• Functions for real %HASHes
• delete, each, exists, keys, values
• Functions for fixed length data or records
• pack, read, syscall, sysread, syswrite, unpack, vec