latest forks module...

[email protected] ("Bradley W. Langhorst")
Newsgroups perl.ithreads
Message-ID <1049672861.8288.104.camel@bwlnote>
I've just downloaded and tested forks.pm (v.3)

I can confirm that most of the Use of uninitialized value messages have
disappeared

now i only get 


Use of uninitialized value in string eq at
/usr/local/lib/perl/5.8.0/forks.pm line 596.
Declaration of shared attribute in package UNIVERSAL may clash with
future reserved word

on startup 


here's a trivial patch for the first - i don't know how to find the
second one...

--- /usr/local/lib/perl/5.8.0/forks.pm  2003-04-02 04:00:06.000000000
-0500
+++ forks.pm    2003-04-06 19:46:20.000000000 -0400
@@ -593,7 +593,7 @@
 #  Lose the parameter

     my $namespace = shift().'::';
-    if ($_[0] eq 'debug') {
+    if (defined($_[0]) && $_[0] eq 'debug') {
         $DEBUG = 1;
         shift;
     }



-- 
Bradley W. Langhorst <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.