From: Timothy Hunter Date: 2006-11-30T08:08:43+09:00 Subject: Re: Wrong results using named arguments Jason Vogel wrote: > Okay, I have a couple of questions. If I use the Hash approach, > > - How do I handle argument default values? > - How do I handle required vs. optional arguments? > - Provide some sort of clue to the calling routines what the argument > "names" are? > - Is there a way to enumerate the valid choices for values (e.g. colors > = [red,white,blue]) > > You might find the "Method Arguments" section on page 332 in the Pickaxe (2nd ed.) helpful, as it describes all the ways you can pass arguments to a method.