From: Dominik Honnef Date: 2009-02-03T04:30:55+09:00 Subject: Re: Noob question: while or for loop within a list --tVmo9FyGdCe4F4YN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable My code does exactly what you want. =2Eeach is iterating over each item and stores it in the variable "url". So instead of $i you got url. And you should read some basic stuff about Ruby, like the Pickaxe, to get started. --=20 Dominik Honnef dominikho@gmx.net --tVmo9FyGdCe4F4YN Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkmHSfUACgkQePZ2jI1LDtd2TQCcCLaRY/thxPwteQpREzzEtHLt c0cAni/vJuBwNZfPl6V1QR1mcUsaQiNC =MpxF -----END PGP SIGNATURE----- --tVmo9FyGdCe4F4YN--