More DWIMminess for Class::Struct: calling the array or hash
authorJarkko Hietaniemi <jhi@iki.fi>
Mon, 14 May 2001 13:42:38 +0000 (13:42 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Mon, 14 May 2001 13:42:38 +0000 (13:42 +0000)
commit726cfeaf1bb81f4cf007dab21416f820c3e9b64e
tree2c10150e21017cb51eaa22e82c14432bcc1502e4
parentab903215d0dba02fe67d564bb62d729b4cbaf13e
More DWIMminess for Class::Struct: calling the array or hash
accessors only with one argument, an array or a hash reference,
sets the underlying array or hash.  This mirrors nicely also
the usage in the constructor.
From Bernd Sokolowsky <ulmo@garozzo.franken.de>, via Damian Conway.

p4raw-id: //depot/perl@10099
lib/Class/Struct.pm
t/lib/class-struct.t