[Chicago-talk] Arguments

Steven Lembark lembark at wrkhors.com
Sat Jan 24 12:55:20 CST 2004


>>>>>>> "petemar1" == petemar1  <petemar1 at perlmonk.org> writes:
>>
>> petemar1> Why not? What should I use?
>>
>> Nothing.
>>
>> sub foo {
>>   my $first_arg = shift; # comment about first arg
>>   my $second_arg = shift; # comment about second arg
>>   my @remaining = @_; # comment about remaining
>>
>>   ....
>>
>> }
>
>Is this in "The Elements of Perl Style?" :)

Since Perl is Whatever Larry Says It Is (tm), yes.




--
Steven Lembark                               2930 W. Palmer
Workhorse Computing                       Chicago, IL 60647
                                            +1 888 359 3508



More information about the Chicago-talk mailing list