http://qs321.pair.com?node_id=529671


in reply to Weird uninitialized value error

I see a couple of problems:
  1. your shebang is broken (#!/usr/bin/perl)
  2. you use @pages before declaring it. Is this some SQLite thing?