my $VERBOSE = 0; # Set to 1 to enable debugging messages
############################ CHECKSUM VERIFICATION ############################
-# A very simple later for verifying checksums. Checksums may be used on object
+# A very simple layer for verifying checksums. Checksums may be used on object
# references directly, and can also be used to verify entire reconstructed
# files.
#
# Try to parse the data as "key: value" pairs of file metadata. Also
# handle continuation lines, which start with whitespace and continue
# the previous "key: value" pair.
- if ($line =~ m/^(\w+):\s+(.*)\s*$/) {
+ if ($line =~ m/^(\w+):\s*(.*)$/) {
$info{$1} = $2;
$last_key = $1;
} elsif ($line =~/^\s/ && defined $last_key) {