Skip Menu |

This queue is for tickets about the Set-Scalar CPAN distribution.

Report information
The Basics
Id: 69037
Status: resolved
Priority: 0/
Queue: Set-Scalar

People
Owner: Nobody in particular
Requestors: mukhyala.kiran [...] gene.com
Cc:
AdminCc:

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



CC: jhi [...] iki.fi
Subject: Set::Scalar::Valued
Date: Wed, 22 Jun 2011 13:44:03 -0700
To: bug-Set-Scalar [...] rt.cpan.org
From: Kiran Mukhyala <mukhyala.kiran [...] gene.com>
Hello Jarkko, I found Set::Scalar::Valued on CPAN after an extensive search for doing set operations on objects and I am thrilled that its working as I needed and hoped it would. After deciding to go with it I found a problem when running a difference operation between two sets where set1 has only one member which is also present in set2 so that the expected difference between set1 and set2 is null. Here's how to reproduce: Show quoted text
>perl -v
This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi Show quoted text
>uname -a
Linux rescomp231 2.6.32.27-0.2.2.2571.0.PTF-default #1 SMP 2010-12-29 15:03:02 +0100 x86_64 x86_64 x86_64 GNU/Linux Show quoted text
>perl -MSet::Scalar::Valued -e '
my $a = Set::Scalar::Valued->new(a=>1); my $b = Set::Scalar::Valued->new(a=>1, b=>2); print $a-$b;' The $a-$b operation just hangs on my machine. I would appreciate any help on how to resolve this problem. Thank you for writing this module and your time on this problem. Best Regards, -Kiran -- Kiran Mukhyala Computational Biologist Bioinformatics and Computational Biology Genentech, Inc. Office: 650 225 3278 Fax : 650 225 5389
Subject: Re: [rt.cpan.org #69037] AutoReply: Set::Scalar::Valued
Date: Wed, 22 Jun 2011 14:45:04 -0700
To: bug-Set-Scalar [...] rt.cpan.org
From: Kiran Mukhyala <mukhyala.kiran [...] gene.com>
More information on this bug. I am using Set::Scalar Version 1.25 It looks like the concept of NULL set of a Valued set has not been implemented as tested by: Show quoted text
>perl -MSet::Scalar::Valued -e 'my $a = Set::Scalar::Valued->new(); print
$a->null' which also hangs. Thanks, -Kiran Show quoted text
> > >
Subject: Re: [rt.cpan.org #69037] AutoReply: Set::Scalar::Valued
Date: Thu, 23 Jun 2011 15:46:15 -0700
To: bug-Set-Scalar [...] rt.cpan.org
From: Kiran Mukhyala <mukhyala.kiran [...] gene.com>
Please find the attached patch for ValuedUniverse.pm to fix this bug and a test case. On Wed, Jun 22, 2011 at 1:44 PM, Bugs in Set-Scalar via RT < bug-Set-Scalar@rt.cpan.org> wrote: Show quoted text
> > Greetings, > > This message has been automatically generated in response to the > creation of a trouble ticket regarding: > "Set::Scalar::Valued", > a summary of which appears below. > > There is no need to reply to this message right now. Your ticket has been > assigned an ID of [rt.cpan.org #69037]. Your ticket is accessible > on the web at: > > https://rt.cpan.org/Ticket/Display.html?id=69037 > > Please include the string: > > [rt.cpan.org #69037] > > in the subject line of all future correspondence about this issue. To do > so, > you may reply to this message. > > Thank you, > bug-Set-Scalar@rt.cpan.org > >

Message body is not shown because sender requested not to inline it.

Message body is not shown because sender requested not to inline it.

Will be fixed in 1.26.