Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Bitwise AND operation in Perl 1

Status
Not open for further replies.

ThomVF

Programmer
Feb 8, 2001
270
0
0
US
Anyone know how to perform a bitwise and "&" against an integer and ASCII character (e.g. (65 & "A") ) ? I can do this for two integers easily enough...The example above should yield 1 but I alwasy get 0....
 
Thanks....great response - you saved me
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top