> > Also, > > if you were to only include @_, would you need a comma after it -- in > other > > words > > my $self = {@_}; or {@_,}; > > doesn't matter... the , allows for appending more entries... after the last > entry you dont *need* it anymore, but it does no harm > I'd even go so far as to say that many people make a point of leaving the comma in just because you can! ...a subtle affirmation that your language of choice is too cool to care about a trailing comma. :)
- class definition Nick Transier
- Re: class definition Jos I. Boumans
- Re: class definition Bradford Ritchie
- Re: class definition Paul
- Re: class definition Paul Johnson
- Re: class definition Brett W. McCoy