Hi, This is working for me but what if i change no of bits to (13 1 1 0 0 0 0 1 1 1 1 0 0 0 0 0).
i removed two bits ,then
<my $template1 = 'A2' x 18;
my $template10 = 'A3' . 'A2' x 17;
my $it = natatime 18, unpack( $template1 x 9 . "($template10)".'*' , $ >
,then its no working for me . i need generlised code which work for every input given whatever it is 18 bits or 19 bits or 20 bits .it will produce Table in aligned format from 1 to 13 iteration.