Greenguy's Board


Go Back   Greenguy's Board > General Business Knowledge
Register FAQ Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 2013-11-09, 02:48 PM   #31
ecchi
Banned
 
ecchi's Avatar
 
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
I've been working on the trade script for http://www.women-in-bondage.info/ and you guys just helped me out without having to do a thing. I was trying to divide two variables, and the script kept crashing. I went on Google and looked at several Perl tutorials, who all said I was doing it right, but it kept crashing. In the end I came here, was starting a "help please" thread and typed "the only way I can see it failing is if the second variable is zero", and thought "Hang on, in extreme cases it might be zero!" So I went back and added a condition:
unless ($counttsent{$mixswap[$temp]} == 0)
and it worked.

So, thanks for being a sounding board guys, I didn't even need to post the question to get it answered!
ecchi is offline   Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:24 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc