Section B.8. Other Operators and Functions

B.8. Other Operators and Functions

Yes, there are more operators and functions than we can fit here, from the scalar .. operator to the scalar , operator, from wantarray to goto(!), from caller to chr. See the perlop and perlfunc manpages.

B.8.1. Transliteration with tr///

The tr/// operator looks like a regular expression, but it's really for transliterating one group of characters into another. It can also efficiently count selected characters. See the perlop manpage.

B.8.2. Here Documents

Here documents are a useful form of multiline string quoting. See the perldata manpage.

Learning Perl
Learning Perl, 5th Edition
ISBN: 0596520107
EAN: 2147483647
Year: 2003
Pages: 232

Similar book on Amazon © 2008-2017.
If you may any questions please contact us: