itshardtogetone wrote:
Hi,

Hello,

How do I copy the first 10 elements of @a into @b?

my @b = @a[ 0 .. 9 ];


John
--
Those people who think they know everything are a great
annoyance to those of us who do.        -- Isaac Asimov

--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/


Reply via email to