princepawn has asked for the wisdom of the Perl Monks concerning the following question:
sub diff_aref { my ($aref1, $aref2) = @_; my %href = undef; #### this is line 73 @href{@{$aref2}} = @{$aref2}; grep { not defined($href{$_}) } @$aref1; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Odd number of elements in hash assignment warning. Use of uninitialized value warning
by Fastolfe (Vicar) on Sep 21, 2000 at 20:21 UTC | |
|
Re: Odd number of elements in hash assignment warning. Use of uninitialized value warning
by Adam (Vicar) on Sep 21, 2000 at 20:16 UTC | |
|
Re: Odd number of elements in hash assignment warning. Use of uninitialized value warning
by merlyn (Sage) on Sep 21, 2000 at 20:17 UTC | |
by swiftone (Curate) on Sep 21, 2000 at 20:20 UTC | |
by blogical (Pilgrim) on May 30, 2007 at 16:05 UTC | |
by princepawn (Parson) on Sep 21, 2000 at 20:22 UTC |