<tt><font size=2>Patrick Meidl <patrick@pantheon.at> wrote on 07/06/2012
03:29:41 PM:<br>
<br>
</font></tt>
<br><tt><font size=2>> 'exists' tests the existence of hash keys, array
elements and subroutine<br>
> names, not object methods (see 'perldoc perlfunc'). as I mentioned<br>
> before, you should use can() for this. so something like this should
put<br>
> you on the right track:<br>
> <br>
> foreach my $method (split(/\./, $field)) {<br>
> if (defined($val) and ref($val) and $val->can($method))
{<br>
> $val = $val->$method;<br>
> } else {<br>
> # this is not required, but shortcuts
the processing<br>
> last;<br>
> }<br>
> }<br>
> <br>
> HTH<br>
> <br>
> patrick<br>
> <br>
I added this and I get a never ending stream of : </font></tt>
<br><tt><font size=2>Use of uninitialized value $data[0] in join or string
at /opt/catalyst/dbms/script/../lib/dbms/Controller/AccountView.pm line
59.</font></tt>
<br>
<br><tt><font size=2>Which is just a debug statement, but it never ends.
I comment it out and it acts like it is hung, my browser just says "Waiting
for local Host".</font></tt>
<br>
<br><tt><font size=2>I am actually quite close, I created a custom resultsource
and have it populating the spreadsheet, but it keeps trying to iterate
over the 86th row, which doesn't exist.</font></tt>