What are the different types of Perl operators?

devquora
devquora

Posted On: Feb 22, 2018

 

Perl language supports several operator types. The important ones are-

  • Arithmetic operators: These include addition(+), subtraction(-), multiplication(*), division(/), modulus(%), etc.
  • Equality operators also known as relational operators, these include == (equal to), != (not equal to), > (greater than), < (less than), etc.
  • Assignment operators These operators assign specific values and include =, +=, -+, *=, /=, etc.
  • Logical operators these include &&, or, ||, not, etc.
  • Quote-like operators In this, {} depicts any kind of delimiters. These include q{}, qq{}, qx{}, etc.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Perl Interview Questions

    List all the features of Perl programming.

    Practical extraction and reporting language (PERL) is an open source software which is used to develop web-based applica..

    Perl Interview Questions

    What are the benefits of PERL in using it as a web-based application?

    The benefits of using PERL programming are: PERL is known as the duct tape of the internet. PERL can accelerate the pro..

    Perl Interview Questions

    Talk about the applications of PERL.

    PERL has myriad and varied applications. PERL is used to write Common Gateway Interface scripts and large projects like..