- or download this
my %desc;
...
sometimes with a few paragraphs
END
- or download this
__DATA__
[room]
...
a few lines long [sometimes with braces]
sometimes with a few paragraphs
- or download this
my %desc;
my $key = 'error';
...
}
}
die if defined $desc{'error'};
- or download this
my $data=<<ENDS;
[room]
...
ENDS
%desc = grep {$_} (split (/\[(\w+)\]/, $data));