X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperldsc.pod;h=48750dd5de3df17230703014961403e6974fda0c;hb=ae77835f9b08444f73b593d4cdc0758132dbbf00;hp=e2b82df796b428029f87b8ecc00e0eb2a5e304dd;hpb=54310121b442974721115f93666234a200f5c7e4;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perldsc.pod b/pod/perldsc.pod index e2b82df..48750dd 100644 --- a/pod/perldsc.pod +++ b/pod/perldsc.pod @@ -698,8 +698,8 @@ many different sorts: print $rec->{LOOKUP}{"key"}; ($first_k, $first_v) = each %{ $rec->{LOOKUP} }; - $answer = &{ $rec->{THATCODE} }($arg); - $answer = &{ $rec->{THISCODE} }($arg1, $arg2); + $answer = $rec->{THATCODE}->($arg); + $answer = $rec->{THISCODE}->($arg1, $arg2); # careful of extra block braces on fh ref print { $rec->{HANDLE} } "a string\n"; @@ -819,7 +819,7 @@ hashes) to a dbm file. The first problem is that all but GDBM and Berkeley DB have size limitations, but beyond that, you also have problems with how references are to be represented on disk. One experimental module that does partially attempt to address this need is the MLDBM -module. Check your nearest CPAN site as described in L for +module. Check your nearest CPAN site as described in L for source code to MLDBM. =head1 SEE ALSO