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

Report information
The Basics
Id:
104374
Status:
new
Priority:
Low/Low

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

BugTracker
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)


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

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