Skip Menu |

This queue is for tickets about the lvalue CPAN distribution.

Maintainer(s)' notes

This queue is shared by both Lvalue and lvalue at the moment. Please make it clear in your bug report which distribution you're addressing.

Report information
The Basics
Id: 83944
Status: new
Priority: 0/
Queue: lvalue

People
Owner: Nobody in particular
Requestors: pankaj.verma212 [...] gmail.com
Cc:
AdminCc:

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



Subject: Lvalue.pm & List::Assignref.pm
hi, i was trying to run an example form perlmonk, i got below error while running the program. my perl version is:5.14.2. lvalue.pm version :0.21 List:assignref version : 0.002 ========================= code snipt: use strict; use warnings; use List::MoreUtils qw( part ); use List::AssignRef; use Data::Dumper; my @array = (1 .. 40); my $i = 0; my $j = @array / 10; ( deref(my @array1), deref(my @array2), deref(my @array3), deref(my @array4), deref(my @array5), deref(my @array6), deref(my @array7), deref(my @array8), deref(my @array9), deref(my @array10), ) = part { int($i++/$j) } @array; ======================================= ERROR Message:: Use of qw(...) as parentheses is deprecated at C:/Perl/lib/lvalue.pm line 198. Use of uninitialized value in string eq at C:/Perl/lib/List/AssignRef.pm line 50. Use of uninitialized value in sprintf at C:/Perl/lib/List/AssignRef.pm line 36. Reference type mismatch: ARRAY vs at C:/Perl/lib/List/AssignRef.pm line 36 List::AssignRef::_confessf('Reference type mismatch: %s vs %s', 'ARRAY', undef) called at C:/Perl/lib/List/AssignRef.pm line 50 List::AssignRef::deref('ARRAY(0xc65a74)') called at D:\pankaj\perl_scripts\split_arr.pl line 24 Output completed (0 sec consumed) - Normal Termination