Re: Apropos of nothing...

2001-12-21 Thread Piers Cawley
Resending due to BT doing bad things to good nameservers. Damian Conway <[EMAIL PROTECTED]> writes: >> >$val = (foo())[0]; >> > >> > List? >> >> Scalar, obviously. > > How do you figure that? (Not a criticism: I'd really like to understand your > thought process her

Perl 6's Exporter

2001-12-21 Thread Brent Dax
I've been thinking about improvements that could be made to Exporter for Perl 6. 1. Choosing where to export to: use Data::Dumper 'Dumper' => 'dumpvar'; #exports Data::Dumper::Dumper to Main::dumpvar (or whatever) 2. Built-in switch handling: