RE: PodViewer Problem
- From: "Ratcliffe, Jeffrey (Peters)" <Jeffrey Ratcliffe External eads com>
- To: gtk-perl-list gnome org
- Subject: RE: PodViewer Problem
- Date: Fri, 15 Sep 2006 07:17:47 +0200
I'm not sure why you're doing this:
map { push(@{$index->{data}}, [ $_ ]) } $viewer->get_marks;
- the "[ $_ ]" part means you creating anonymous arrays with only
one element in them, which is $_, and I do not see where you add elements
to these arrays, so do you really need the '[', ']' around '$_' ?
That is, do you really need these anonymous arrays ?
Probably not in this case. However, I was just trying to distil the code down to the minimum needed to show
the problem. In the real app, there is more in the array.
What have I got wrong?
Nothing. It's a bug in PodViewer. (Hi, Gavin!)
Thanks, Muppet.
What I couldn't understand is why the error doesn't happen in the podviewer app itself (from where I stole
the code).
Jeff
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]