Help for this page

Select Code to Download


  1. or download this
    for ($packed) { # alias $_ = $packed;
       pos = 0;
    ...
       # Make sure there's nothing extra at the end.
       /\G \z /xgc or die;
    }
    
  2. or download this
    sub extract_string {
       /\G (.) /xgc or die;
    ...
    }
    
    my @strings = parse($packed);