this is what i have now:
#!/opt/perl/bin/perl -w
system "rm -f ./new_forecastsales.out";
open (NEW, ">>new_forecastsales.out");
open (MATRIX, "matrix.out");
#<MATRIX>;
while (<MATRIX>) {
@fields = split (/,/);
$Enterprise = $fields[0];
$Site = $fields[1]...
Thanks so much!!
I tried both of the recs above, both don't seem to give me what I'm trying to pull out of the input. I'm getting negative numbers of the BOH which shouldn't appear on the output. It almost seems as if it's completely ignoring any if statment I put in before or in the print...
Hi all, I've just been introduced to PERL and am looking for advice on the following snippet of code. I want to have the $TotalDemandData be a result of the input variables it already is (this works) and the new BOH data (which I named $BOHSub) subtract the Total Demand and then ONLY print the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.