On 07/24/2006 11:40 AM, Ryan Moszynski wrote:
Is there a way to make my commented 'foreach" line act the same as the line above it?[...] foreach (0..10,33..43,100..111){ #foreach ($list4){ [...]
Use the split function to split $list4 on the commas. Read about split: "perldoc -f split"
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>