sub _init { my $this = shift; my $that = { @_ }; while( my ($k, $v) each %$that ) { $this->{$k} = $v; } }
... but it uses hash slices instead. Does that make more sense?
-Paul
In reply to Re: Make sense?
by jettero
in thread Make sense?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |