[Chicago-talk] Arguments

Randal L. Schwartz merlyn at stonehenge.com
Sun Jan 18 19:12:53 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

  ....

}

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!



More information about the Chicago-talk mailing list