Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

chaoticset (2105)

chaoticset
  (email not shown publicly)
http://chaoticset.perlmonk.org/
AOL IM: chaoticset23 (Add Buddy, Send Message)
Yahoo! ID: illuminatus_foil (Add User, Send Message)

JAPH. (That's right -- I'm not Really Inexperienced any more.)

I'm not just here, I'm here [perlmonks.org], and here [javajunkies.org] too, I ramble randomly in my philosophical blog [blogspot.com] and my other blog [blogspot.com]. Soon I'll come in a convenient six-pack.

Journal of chaoticset (2105)

Tuesday January 08, 2002
12:54 PM

Argument "Abeyance" isn't numeric in numeric lt ()

[ #1981 ]
[Tue Jan 08 12:38:27 2002] [error] [client 127.0.0.1] Argument "Abeyance" isn't numeric in numeric lt () at c:\APACHE~1\APACHE\CGI-BIN\GUICS.PL line 182.

Ripped from the error logs. *eye roll*

I wrote a huge, thoughtful post for my wretched blog and the web promptly ate it the moment I hit 'post and publish'. The echoes resound through my head still: "There MUST be a better way..."

Well, whatever I did (and all I did was change some of the test names!), it's made a bunch of problems. I think something got shifted somewhere.

The problem is with

sub rounded {
if (($_) && ($_ if (($_) && ($_ return int ($_ + 1);
} else { return int $_; } }

because the line error it gives is at line 182, the first if statement.

My only thought is that I've written the sub wrong here. "Isn't $_ supposed to be $_[0]?"

That said, I'm going to make the change and see if it works. If it doesn't, I'll have no choice but to make a pot of coffee and drink most of it.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.