Hello Monks,
After stepping back from the script I finally figured it out on my own...sometimes you just have to step back and re think what it is you are doing...fixed code below:
print "==============\n\n"; print "| COMMODITY: |\n\n"; print "==============\n\n"; my $cmmdty = <STDIN>; $cmmdty = <STDIN> until defined $cmmdty; chomp $cmmdty; if ($cmmdty) { if ($cmmdty eq "NONE") { chomp(my $lore = "E"); } else { chomp(my $lore = "L"); cls();
It does exactly as I expect it to do.
In reply to Re: Auto Fill - FIXED
by PilotinControl
in thread Auto Fill
by PilotinControl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |