Skip to content

Tag Archives: perl-operators

The qw operator in Perl is used to extract each element of the given string as it is in an array of elements in single-quote… Read More
The y operator in Perl translates all characters of SearchList into the corresponding characters of ReplacementList. Here the SearchList is the given input characters which… Read More
The tr operator in Perl translates all characters of SearchList into the corresponding characters of ReplacementList. Here the SearchList is the given input characters which… Read More
‘ne‘ operator in Perl is one of the string comparison operators used to check for the equality of the two strings. It is used to… Read More
cmp operator in Perl is a string equality comparison operator used to compare if the two strings placed left and right to this operator are… Read More
‘eq‘ operator in Perl is one of the string comparison operators used to check for the equality of the two strings. It is used to… Read More
‘le‘ operator in Perl is one of the string comparison operators used to check for the equality of the two strings. It is used to… Read More
‘gt‘ operator in Perl is one of the string comparison operators used to check for the equality of the two strings. It is used to… Read More
‘ge‘ operator in Perl is one of the string comparison operators used to check for the equality of the two strings. It is used to… Read More
‘lt‘ operator in Perl is one of the string comparison operators used to check for the equality of the two strings. It is used to… Read More
next operator in Perl skips the current loop execution and transfers the iterator to the value specified by the next. If there’s a label specified… Read More
Substitution Operator or ‘s’ operator in Perl is used to substitute a text of the string with some pattern specified by the user. Syntax: s/text/pattern… Read More
q operator in Perl can be used in place of single quotes. It uses a set of parentheses to surround the string. Syntax: q (string)… Read More
redo operator in Perl restarts from the given label without evaluating the conditional statement. Once redo is called then no further statements will execute in… Read More
print operator in Perl is used to print the values of the expressions in a List passed to it as an argument. Print operator prints… Read More