in reply to readline() on unopened filehandle (was: AOL Messaging)
The reason you get that error is because of the line:
'allow_srv_settings' => <1>,
You end up trying to read from the filehandle named 1. You probably meant to say:
'allow_srv_settings' => 1,
The angle brackets in the documentation mean that you should use either 1 or 0.
Also, for this particular case, you shouldn't specify the 'callback' option, since you don't actually define callbackfunction (and don't need to for this simple program). In fact, in general, you shouldn't really need to specify a value for most of the options, as they should have reasonable defaults. You really only need to give it the username and password and it should work correctly.
Hope that helps.
bbfu
Black flowers blossom
Fearless on my breath
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: AOL Messaging
by Anonymous Monk on Apr 09, 2003 at 05:37 UTC | |
by pg (Canon) on Apr 09, 2003 at 06:04 UTC | |
by Anonymous Monk on Apr 09, 2003 at 06:10 UTC |