Elaborate on Perl bite-wise operators.

devquora
devquora

Posted On: Feb 22, 2018

 

Perl bit-wise operators work on bits and perform bit-by-bit operations. It includes-
  • AND(&) : this operator compares two bits and copies the bit to result if it exists in both operands.
  • OR(|) : it compares two bits and copies the bit if it exists in either of the operands.
  • XOR(^) : it copies the bit if it is there in on operand and not other.
  • ~ : this complement operator is uniary.

    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..