Hi all, When converting a single number (eg 6) to its binary format using unpack as in:
unpack 'B8', '6'; # output = 00110110 I get the 8 character output 00110110. Does unpack have options for it to only return the last 4 characters of this output (ie 0110)? Or is the only option to use substr? Got a little confused by the documentation :( -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/