Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Is this Proc::Queue error

by johngg (Canon)
on Dec 06, 2006 at 15:36 UTC ( [id://588114]=note: print w/replies, xml ) Need Help??


in reply to Is this Proc::Queue error

I don't think your processing of $opt_numChilds is doing what you think. Instead of

my $numChilds=3; ... ($opt_numChilds) ? $numChilds=$opt_numChilds : $numChilds;

try

my $numChilds = $opt_numChilds ? $opt_numChilds : 3;

Your code gives a "Useless use of private variable in void context" message.

Cheers,

JohnGG

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://588114]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2024-04-19 14:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found