3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-10-01 17:16:39 +02:00

Testing codepad.pl

This commit is contained in:
Pragmatic Software 2010-03-28 14:34:35 +00:00
parent 2160c36a8c
commit b715f3053c

View File

@ -151,6 +151,7 @@ sub dict_hash {
foreach my $line (@lines) {
$line =~ s/^\s+//;
$line =~ s/\s+$//;
$line =~ s/\s+/ /g;
if($line =~ m/^([a-z]) (\d+): (.*)/i) {
($type, $number, $text) = ($1, $2, $3);