in reply to Re: Re: Re: Style, style, style
in thread Style, style, style
sub blah { my ( $foo, $bar, $baz ) = ( shift, shift ); }
Perhaps not too bad in a short list of shifts. But terrible when invoked as:
Quick, was $cow passed in via @_ or simply instantiated?shazam ( 0, 6, 7, $index, $arrayref, $hashref ); ... sub shazam { my ( $foo, $bar, $baz, $bup, $quz, $pig, $cow ) = (shift, shift, shi +ft, shift, shift, shift); }
update: added another egregious example, shazam
blyman
setenv EXINIT 'set noai ts=2'
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Style, style, style
by Aristotle (Chancellor) on Sep 10, 2002 at 16:25 UTC |