> > sub myprint(+$file is IO:File is rw ::= IO:STDOUT, [EMAIL PROTECTED]) {...}
> As a side note... that sig will not do the behavior you've described.
> You instead want this:
> > sub myprint([EMAIL PROTECTED], +$file is IO:File is rw ::= IO:STDOUT) {...}
> The named parameter +$file has to go behind the positional [EMAIL PROTECTED] in
> the signature, but still goes _before_ [EMAIL PROTECTED] in the actual call.*sigh* I haven't been the sharpest tool in the shed today, and I know that the usual cases will be simpler, and that I'll get used to it with use until it makes sense and comes naturally..... But in the meantime, I kinda hafta agree. It's burning my brain. __________________________________________________ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com
