I understand what you're saying, but I would appreciate some clarification on a couple things...
You mentioned that Win32::OLE doesn't perform the checks, but that Data::Dumper does. However, if I understand my own code (unlikely, but I have hope), I'm not calling Win32::OLE repeatedly.. I thought I just had one Data::Dumper call, and it took care of the rest.. thus, if it functioned as you say, wouldn't it find the 'infinite' loop?
I suspect I'm not understanding how Data::Dumper works. BTW, above I'm referring to when I just passed $doc straight to Data::Dumper, not when I used the recursive function. Does that make sense?
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|