in reply to Re^2: Extracting DNC issues
in thread Extracting DNC issues
I'm trying to do if the number doesn't exist in combined numbers then it should be dnc
I understand that, but $dnc retains the previous value you assigned every time through the loop, so I wonder if that's what you intended. If you move the declaration and assignment into the loop, $dnc will be an empty string unless the current number doesn't exist in combined numbers.
I don't know if that's what you want though.
Improve your skills with Modern Perl: the free book.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Extracting DNC issues
by MoodyDreams999 (Scribe) on Oct 09, 2023 at 15:26 UTC | |
by chromatic (Archbishop) on Oct 10, 2023 at 00:31 UTC |