Skip Menu |
 
rt.cpan.org will be shut down on March 1st, 2021.

This queue is for tickets about the Data-Alias CPAN distribution.

Report information
The Basics
Id: 91526
Status: new
Priority: 0/
Queue: Data-Alias

People
Owner: Nobody in particular
Requestors: felix.ostmann [...] gmail.com
Cc:
AdminCc:

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



Subject: alias on push($arrref, ...) failes (segfault)
Download (untitled) / with headers
text/plain 678b
From push-Documentation: Starting with Perl 5.14, "push" can take a scalar EXPR, which must hold a reference to an unblessed array. The argument will be dereferenced automatically. This aspect of "push" is considered highly experimental. The exact behaviour may change in a future version of Perl. $ perl -MData::Alias -we 'my $a; alias push(@$a, 1); print "ok\n";' ok $ perl -MData::Alias -we 'my $a; alias push($a, 1); print "ok\n";' Segmentation fault (core dumped) $ perl -v This is perl 5, version 18, subversion 1 (v5.18.1) built for x86_64-linux ... OK, it is highly experimental, but Data::Alias can't work with it.
Download (untitled) / with headers
text/plain 257b
OK, i guess you can ignore this report since perl 5.24 ... From push-Documentation: Starting with Perl 5.14, an experimental feature allowed "push" to take a scalar expression. This experiment has been deemed unsuccessful, and was removed as of Perl 5.24.


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.