01-07-29 03.05, skrev Michael G Schwern på schwern@pobox.com följande: >> my %hash = (a => 1, b => 2); >> my $ref = \$hash; >> readonly \%hash; # clamped > > C<readonly %hash> should be achievable by simply using the \% prototype. No, since you can do readonly $scalar aswell. I have the same problem with lock/unlock/cond_wait/cond_signal/cond_broadcast A \($|@|%) prototype or something like that taking a reference to anything would be a very very very welcome addition. -- ArthurThread Previous | Thread Next