Dominic Mitchell wrote:
sub set_something {
    my ($self, $val) = @_;
    *{$self}{something} = $val;
}
That should be:

    ${*$self}{something} = $val;

obviously...

-Dom

--
| Semantico: creators of major online resources          |
|       URL: http://www.semantico.com/                   |
|       Tel: +44 (1273) 722222                           |
|   Address: 33 Bond St., Brighton, Sussex, BN1 1RD, UK. |

Reply via email to