Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    printf("        \$data: !%s! \n", $data);
    printf("    \$tail_len: %02Xx = %d \n", $tail_len, $tail_len);
    printf("\n");
    
  2. or download this
    c:\@Work\Perl\monks\ozboomer>perl unpack_1.pl
    ".u\n\4\0\0\0\20WV2   \x80I=427 Lamp dim state=2 [SCATS=0]."
    ...
     $source_name: !WV2   !
            $data: !ÇI=427 Lamp dim state=2 [SCATS=0]!
        $tail_len: 2Ex = 46