Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^4: Extracting DNC issues

by MoodyDreams999 (Beadle)
on Oct 09, 2023 at 15:26 UTC ( [id://11154884]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Extracting DNC issues
in thread Extracting DNC issues

Yes, so that was probably the issue I was having. DNC isnt a column until we create it, so it should be an empty string unless the current number doesn't exist in combined numbers. Isn't it in the while loop though, the ending bracket for while loop is after that statement

Replies are listed 'Best First'.
Re^5: Extracting DNC issues
by chromatic (Archbishop) on Oct 10, 2023 at 00:31 UTC
    Isn't it in the while loop though

    Not in the code you posted:

    my $dnc_col = ''; while (my $row = $csv->getline($input))

    Unless I misunderstand your intention, I think you should swap the order of these two lines.


    Improve your skills with Modern Perl: the free book.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11154884]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2024-05-28 03:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found