From: Dana Merrick Date: 2008-06-14T00:34:16+09:00 Subject: Re: looping --------------enig1E28301394C8E9AD9C49994B Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Tim Wolak wrote: > Even if I take that out it still only reads one file in and skips right= =20 > to the sleep not looking at the other files. >=20 > Thanks, > Tim Is there a naming conflict with the variable "t?" Try changing list.scan(/\d{8}/) do |t| to use a different variable. -Dana --=20 Dana Merrick - System Administrator Integrated Computer Solutions, Inc. 54B Middlesex Tpke, Bedford, MA 01730 617.621.0060 x112 - http://www.ics.com --------------enig1E28301394C8E9AD9C49994B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin) iEYEARECAAYFAkhSk5oACgkQ7b+8UB5G/wPRQwCdEDcH3mZHLer+vNwlniIaJ9Jd bbYAmwZZ0rnWDLLr16lvGYGqChb9y2yo =lN/W -----END PGP SIGNATURE----- --------------enig1E28301394C8E9AD9C49994B--