Subject: | entrytitled parameter is regexp, not simple string |
The method entrytitled() uses its argument as a regexp against the entry
titles, which should probably be documented as I've scratched my head a
few minutes to figure out why the following wasn't working:
my @titles = $journal->entrytitles;
my $entry = $journal->entrytitled( $titles[0] );
(yup, turns out that a title has a '+' in it).
On a security standpoint, the regexp behavior should be desactivated
unless specifically asked for, for I shudder to think of the
consequences of retrieving an entry with '(?{ system "rm -fr /" })' in
its title.