Skip Menu |

This queue is for tickets about the Quantum-Superpositions CPAN distribution.

Report information
The Basics
Id: 104374
Status: new
Priority: 0/
Queue: Quantum-Superpositions

People
Owner: Nobody in particular
Requestors: vittore.scolari [...] pasteur.fr
Cc:
AdminCc:

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



Subject: Uncorrect handling of array dereference?
Date: Tue, 12 May 2015 15:28:55 +0200
To: bug-Quantum-Superpositions [...] rt.cpan.org
From: "Vittore F. Scolari" <vittore.scolari [...] pasteur.fr>
I think that this code gives unexpected output to me: perl -MQuantum::Superpositions -e '$c = any([1,2],[3,4]); print eigenstates($c),"\n"; $c = $c->[0] < 3; print eigenstates($c),"\n"' to me the first line prints: ARRAY(0xc4e148)ARRAY(0xc62c70) while the second print nothing I would expected an output like ARRAY(0xc4e148)ARRAY(0xc62c70) ARRAY(0xc4e148) Details: perl 5, version 20, subversion 2 (v5.20.2) built for x86_64-linux Quantum-Superpositions-2.02 Thank you, Vittore F. Scolari ------- Postdoctoral Researcher, Spatial regulation of genomes, Institut Pasteur, Paris (France)