On 3/22/07, Tom Phoenix <[EMAIL PROTECTED]> wrote:
On 3/22/07, Andy Greenwood <[EMAIL PROTECTED]> wrote:

>         $Select = new IO::Select();

Is $Select a global variable? Is that why it's got a capital letter? I
suspect that you're not coding under the rules of 'use strict'. I'm

$Select is global and I am using strict and warnings. It is declared
at the top of the program and defined in the socketinitialize sub.
Besides, if it wasn't global, wouldn't I be unable to read from it at
all in the checkconnections sub? I can read the list of sockets out of
select. Otherwise, perl would never get down to line 1256 and I would
never get my error, no?

If you want to view the entire script, you can at
http://svn.berlios.de/wsvn/tf-b4rt/trunk/html/bin/fluxd/fluxd.pl?op=file&rev=0&sc=0
It's a little long to post in an email ;-)

not sure whether that indicates a problem with your program, but it
bears further investigation.

Cheers!

--Tom Phoenix
Stonehenge Perl Training



--
--
I'm nerdy in the extreme and whiter than sour cream

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to