hi everybody

   i have a newbie question.the list @city1 below has lots of values.i want 
to get the first 20 values without write all of them in a different 
list.its a lot!!!i've been trying to use the code below but no way!!
 can someone teach me that?

@city1 = ('homer','bart','lisa','maggie','me', ... lots of values);
@city = ($city1[0]..$city1[3]);

i want the resuilt like this

 @city = ('homer','bart','lisa','maggie');

but it does not working like that..
  can someone help me with that?
thanks in advance
Fabio

---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
         [EMAIL PROTECTED]
For non-automated Mailing List support, send email to  
         [EMAIL PROTECTED]

Reply via email to