Search Perl pages
Professions, Sciences, Humanities, Business, ...
Text-based, GUI, Audio, Video, Keyboards, Mouse, Images,...
Conversions, tests, processing, manipulation,...
Integer, Floating point, Matrix, Statistics, Boolean, ...
Algorithms, Memory, Process control, Debugging, ...
Data storage, Integrity, Encryption, Compression, ...
Networks, protocols, Interprocess, Remote, Client Server, ...
Timing, Calendar and Clock, Audio, Video, Printer, Controls...
Management, Filtering, File & Directory access, Viewers, ...
Next: Multiplicative Operators
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
Binary ``!~'' is just like ``=~'' except the return value is negated in the
Source: Perl operators and precedence
Copyright: Larry Wall, et al.
Previous: Symbolic Unary Operators
(Corrections, notes, and links courtesy of RocketAware.com)
Up to: PERL
Search | About | Comments | Submit Path: RocketAware > Perl >
RocketAware.com is a service of Mib Software
Copyright 2000, Forrest J. Cavalier III. All Rights Reserved.
We welcome submissions and comments