On 8/1/03 11:44 AM, Mark J. Reed wrote:
> Is it possible with the new parameter declaration syntax to declare
> a mandatory name-only parameter?
My earlier plea for this feature begins here:
http://archive.develooper.com/[EMAIL PROTECTED]/msg14666.html
I didn't think I made much headway, but thi
Mark J. Reed wrote:
Is it possible with the new parameter declaration syntax to declare
a mandatory name-only parameter?
Probably. I think that the '?', '*', and '+ prefixes are abbreviations for
traits (C, C, C). So a named,
mandatory parameter would be:
sub foo($bar is named) {...}
Alternat
> Is it possible with the new parameter declaration syntax to declare
> a mandatory name-only parameter?
Not directly, no. However, some trickyness with macros would probably
let you do it. I don't yet understand macros well enough to show
you...
Luke
> Mark
Is it possible with the new parameter declaration syntax to declare
a mandatory name-only parameter?
-Mark