> Use pack/unpack
The OP seems on a beginner level and you didn't demonstrate how this would be done.
Even I can't remember ever using vec and pack/unpack force me to reread their perldocs again and again.
So I'd appreciate if you could shown some example code solving the OP's question this way, please.
I really don't know by myself and am always eager to learn.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re^2: How can I set a bit to 0 ?
by LanX
in thread How can I set a bit to 0 ?
by bartender1382
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |