John Porter <jdporter@min.net> wrote: > Yes, I didn't pay enough attention to the second line. > I meant something more like > > @hands = () x 5; I think you're having a bad day today, John. () x 5 is the same as (), so @hands in a scalar context will still be 0 after that statement. I think you meant something like @hands = ( [] ) x 5; except that then you get 5 references to the same anonymous array. You would need push @hands, [] for 1 .. 5; which is starting to get less fun. -- Keith C. Ivey <kcivey@cpcug.org> http://cpcug.org/user/kcivey/ Washington, DC ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe