Home
Search Perl pages
Subjects
By activity
Professions, Sciences, Humanities, Business, ...
User Interface
Text-based, GUI, Audio, Video, Keyboards, Mouse, Images,...
Text Strings
Conversions, tests, processing, manipulation,...
Math
Integer, Floating point, Matrix, Statistics, Boolean, ...
Processing
Algorithms, Memory, Process control, Debugging, ...
Stored Data
Data storage, Integrity, Encryption, Compression, ...
Communications
Networks, protocols, Interprocess, Remote, Client Server, ...
Hard World Timing, Calendar and Clock, Audio, Video, Printer, Controls...
File System
Management, Filtering, File & Directory access, Viewers, ...
|
|
|
Binary ``=~'' binds a scalar expression to a pattern match. Certain
operations search or modify the string $_ by default. This
operator makes that kind of operation work on some other string. The right
argument is a search pattern, substitution, or translation. The left
argument is what is supposed to be searched, substituted, or translated
instead of the default $_. The return value indicates the success of the
operation. (If the right argument is an expression rather than a search
pattern, substitution, or translation, it is interpreted as a search
pattern at run time. This can be is less efficient than an explicit search,
because the pattern must be compiled every time the expression is
evaluated.
Binary ``!~'' is just like ``=~'' except the return value is negated in the
logical sense.
Source: Perl operators and precedence Copyright: Larry Wall, et al. |
Next: Multiplicative Operators
Previous: Symbolic Unary Operators
(Corrections, notes, and links courtesy of RocketAware.com)
Up to: PERL
Rapid-Links:
Search | About | Comments | Submit Path: RocketAware > Perl >
perlop/Binding_Operators.htm
RocketAware.com is a service of Mib Software Copyright 2000, Forrest J. Cavalier III. All Rights Reserved. We welcome submissions and comments
|