<?xml version="1.0" encoding="windows-1252"?>
<node id="1003866" title="Re: runtime problem" created="2012-11-14 12:27:56" updated="2012-11-14 12:27:56">
<type id="11">
note</type>
<author id="622051">
toolic</author>
<data>
<field name="doctext">
Use :: instead of -&gt;

&lt;c&gt;
if (my $numeral = Scalar::Util::looks_like_number($user_radius)) {
&lt;/c&gt;

&lt;p&gt;[doc://Scalar::Util] does not have an [doc://perlootut#Methods|object-oriented interface].

&lt;p&gt;Similarly, you can also import the sub:


&lt;c&gt;
use Scalar::Util qw(looks_like_number);

...

if (my $numeral = looks_like_number($user_radius)) {
&lt;/c&gt;
</field>
<field name="root_node">
1003864</field>
<field name="parent_node">
1003864</field>
</data>
</node>
