Nov 2, 2016, 7:54 AM
Why are you using the length() function to check an integer? That doesn't make any sense.
Re: [robhazekamp] What if I Have 10 Furnaces Instead of Only 9?
You really should post a short but complete script that demonstrates the problem.
If you're passing 3 args to your script like that, then you probably should be doing something like this:
Then apply whatever checks you need to those vars. I can't tell what you're really trying to accomplish so I can't extend the example until you give a better explanation and sample code.
my ($fnc, $num, $report) = @ARGV;
If your actual script isn't to big, then maybe you should post the whole script.
(This post was edited by FishMonger on Nov 2, 2016, 7:57 AM)