On Thu, 10 May 2001, Jeff Pinyan wrote: > On May 10, Sven Neuhaus said: > > >sub x { > > my @a; > > my $b = [ qw(a b c) ]; > > return [ > > map { [ '??', $_ ] } @a, > > map { $_; } @$b > > ]; > >} > > I don't know what you were trying to do... > > return [ map [ '??', $_ ], ( @a, @$b ) ]; > > is what it boils down to... Actually, you don't need @a at all. return [ map [ '??', $_ ], @$b ]; -- John Wesley Krahn, CD Vancouver, British Columbia, Canada ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe