Re: general subroutine question

2006-08-30 Thread Derek B. Smith
--- "D. Bolliger" <[EMAIL PROTECTED]> wrote: > Derek B. Smith am Mittwoch, 30. August 2006 20:44: > > > store where? > > > > > > > or pass? > > > > > > pass to what? > > > > > > > > > Did you mean: Is there a way for a subroutine to > > > react to a call with to many > > > arguments? > > > > > > s

Re: general subroutine question

2006-08-30 Thread D. Bolliger
Derek B. Smith am Mittwoch, 30. August 2006 20:44: > > store where? > > > > > or pass? > > > > pass to what? > > > > > > Did you mean: Is there a way for a subroutine to > > react to a call with to many > > arguments? > > > > sub accept_max_5_arguments { > > die 'too many arguments!' if @_ > 5; >

Re: general subroutine question

2006-08-30 Thread Adriano Ferreira
On 8/30/06, Derek B. Smith <[EMAIL PROTECTED]> wrote: Why is it so many people on the list are sarcastic??? Many enjoy being that way. Some enjoy helping people at this list and others, but get tired sometimes and forget they can only ignore what they thought to be a not-so-clear question and

RE: general subroutine question

2006-08-30 Thread Christian, Ed
> Is there a commonly known way or method to limit the > number of arguments that a subroutine can store or > pass? > perldoc perlsub Look there for "Prototypes". -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: general subroutine question

2006-08-30 Thread Derek B. Smith
> store where? > > > or pass? > > pass to what? > > > Did you mean: Is there a way for a subroutine to > react to a call with to many > arguments? > > sub accept_max_5_arguments { > die 'too many arguments!' if @_ > 5; > } > > sub accept_max_x_arguments { # apart from the first > my $m

Re: general subroutine question

2006-08-30 Thread D. Bolliger
Derek B. Smith am Mittwoch, 30. August 2006 19:56: > All, > > Is there a commonly known way or method to limit the > number of arguments that a subroutine can > store store where? > or pass? pass to what? Did you mean: Is there a way for a subroutine to react to a call with to many argument

general subroutine question

2006-08-30 Thread Derek B. Smith
All, Is there a commonly known way or method to limit the number of arguments that a subroutine can store or pass? thank you derek __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- To