Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: runtime problem

by toolic (Bishop)
on Nov 14, 2012 at 17:27 UTC ( #1003866=note: print w/ replies, xml ) Need Help??


in reply to runtime problem

Use :: instead of ->
if (my $numeral = Scalar::Util::looks_like_number($user_radius)) {

Scalar::Util does not have an object-oriented interface.

Similarly, you can also import the sub:

use Scalar::Util qw(looks_like_number); ... if (my $numeral = looks_like_number($user_radius)) {

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1003866]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2016-06-25 02:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (323 votes). Check out past polls.