in reply to Re: Auto Fill - FIXED
in thread Auto Fill

"It does exactly as I expect it to do."

What did you expect this code to do?

if ($cmmdty eq "NONE") { chomp(my $lore = "E"); } ...

Here's what it does:

In short, create a variable, assign a value, perform a pointless operation and then throw it all away.

You possibly have the same problem with 'chomp(my $lore = "L");' but that part of the code is incomplete so I can't tell.

-- Ken