in reply to Perl csv insert with special character

With below code I'm ...

That's impossible, since the code doesn't compile due to many syntax errors. You were told this last time too: since you claim you have it, post the working code. The current "code" has plenty of simple errors that you can even fix yourself, you were told how, and you even said you "100% agree to" that suggestion.

This is starting to look like a pattern, it looks like you're just trying to sweet talk us into doing your work for you.

  • Comment on Re: Perl csv insert with special character

Replies are listed 'Best First'.
Re^2: Perl csv insert with special character
by homer4all (Acolyte) on Dec 30, 2014 at 23:24 UTC
    Seriously getting someone else do my work will be the last thing in my mind. Spent half day resolving this then finally decided to get experts help.

    I have typed each line here manually since I can't copy paste from my work laptop. Out of 500 codes of line I have written here what was relevant to my question. Code does work but somehow speical character gets ignore or something else. For which I though TEXT::CSV -> parameter and sample data will be more than enough.

        insertRecords sub gets $file value from the main sub, since multiple file exist, I'm shift after each iteration.
        &insertRecords ($file);
Re^2: Perl csv insert with special character
by homer4all (Acolyte) on Dec 30, 2014 at 23:27 UTC
    NOTE: code will give compilation error, db connection is not included since it public sub used by entire company. Also validate command sub is not included.