in reply to Re: What does the SHIFT bit do in a constructor
in thread What does the SHIFT bit do in a constructor
which looks cleaner to my eyes. YMMV.sub new { my $self = bless {}, shift; @$self{'PEERS', 'NAME', 'AGE'} = []; return $self; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(tye)Re: What does the SHIFT bit do in a constructor
by tye (Sage) on May 26, 2001 at 00:00 UTC |