Skip Menu |
 

This queue is for tickets about the threads CPAN distribution.

Report information
The Basics
Id: 42026
Status: rejected
Priority: 0/
Queue: threads

People
Owner: Nobody in particular
Requestors: KES [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Download (untitled) / with headers
text/plain 806b
Is it right behaviour? ## my @threads= (); while( my ($key, $value)= each %conf ) { #threads->create( {'context' => 'list'}, \&pinger, $value->{ip}, $value->{interval}, $value->{count}, $value->{size} ); push @threads, { num => threads->create( {'context' => 'list'}, \&pinger, $value->{ip}, int(rand(5))+1, int(rand(5))+1, $value->{size} ) ,name => $value->{name} }; } print Dumper \@threads; __OUTPUT__ $VAR1 = [ { 'num' => bless( do{\(my $o = '675271168')}, 'threads' ), 'name' => undef }, { 'num' => bless( do{\(my $o = '675855616')}, 'threads' ), 'name' => undef }, { 'num' => bless( do{\(my $o = '677433152')}, 'threads' ), 'name' => undef }, ..
Subject: Re: [rt.cpan.org #42026]
Date: Mon, 29 Dec 2008 15:32:04 -0500
To: bug-threads [...] rt.cpan.org
From: "Jerry D. Hedden" <jdhedden [...] cpan.org>
Download (untitled) / with headers
text/plain 298b
Eugen Konkov wrote: Show quoted text
> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=42026 > > Is it right behaviour?
As far as I can tell, the output corresponds with the code. However, you have not provided a fully working example, nor have you explained what you expected or what you think is wrong.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.