Help for this page
use v5.10; my $str = qq{abc\0def}; my $pck = pack q{Z*}, $str; ... 00 ----- abc,ef