In article <20030624075527.GC57124 / uk.tiscali.com>,
Brian Candler  <B.Candler / pobox.com> wrote:

>while line = gets
>  if line =~ /^START$/ .. /^END$/
>    puts line
>  end
>end

Did you miss an extra line =~ there?

  if line =~ /^START$/ .. line =~ /^END$/
    puts line
  end

works better...

Mike
-- 
mike / stok.co.uk                    |           The "`Stok' disclaimers" apply.
http://www.stok.co.uk/~mike/       | GPG PGP Key      1024D/059913DA 
mike / exegenix.com                  | Fingerprint      0570 71CD 6790 7C28 3D60
http://www.exegenix.com/           |                  75D2 9EC4 C1C0 0599 13DA