[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Multiple selections using MacPerl::pick



Chris Nandor writes:
|@color = MacPerl::Pick("Pick two colours:",@list);

I've always wished Pick just acted differently depending on if it's in
an array context or not. In scalar context, you can only select one
thing and it returns a scalar. In array context, you can make multiple
selections and it returns an array.

Brian

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch