in reply to readline() on unopened filehandle (was: AOL Messaging)

This line:

'allow_srv_settings' => <1>,

tries to read a line from a filehandle named 1 which isn't open. Without looking at the documentation, I suspect you could remove the angle brackets and the error would disappear.