From: Eric Boucher Date: 2006-04-28T10:43:06+09:00 Subject: Re: getting the next line with the iterator Thanks a lot everybody for all your good answers. Logan, this is exactly what I wanted. Ashley, if you want to avoid the $. , maybe you can use this: require 'English' ... start_line = $INPUT_LINE_NUMBER if line =~ /start_here/ Thanks again to everybody! On Friday, April 28, 2006, at 8:00 AM, Ashley Moran wrote: > >On Apr 27, 2006, at 11:56 pm, Ashley Moran wrote: > >> start_line = $. if line =~ /start_here/ >> list << line if ($. == start_line + 1) .. ($. == start_line + 3) > > >Oh I forgot to say... anyone know how to avoid the horrible Perlism ($.)? > > > -- Posted with http://DevLists.com. Sign up and save your mailbox.