On Fri, Jan 30, 2009 at 1:40 PM, Travis McArthur <span dir="ltr"><<a href="mailto:travis@travisbsd.org">travis@travisbsd.org</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
if (ref($qualifiers) eq "HASH")<br>
...<br>
elsif (ref($qualifiers) eq "ARRAY")<br>
</blockquote><div> </div></div>I just started working on some recursive code and was forced to use the "UNIVERSAL::isa" subroutine to check if an object is a hash or array. <br><br>This looks cleaner, but is it available in the older Perl 5.8.0? This looks a lot like the Perl 5.10 code I saw demo'ed and thought "Wow, very nice!"...<br>
<br>Dan<br clear="all"><br>-- <br>"Quis custodiet ipsos custodes?" (Who can watch the watchmen?) -- from the Satires of Juvenal<br>"I do not fear computers, I fear the lack of them." -- Isaac Asimov (Author)<br>
** *** ***** ******* *********** *************<br>