Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. daveinOK2004

    CSV - Sorted vs unsorted source data - creates error

    OK. I've found the problem. For some reason, when I sort the file in Excel, it adds an additional comma to the end of some lines. The extra comma seems to be the culprit. before sort: /o=NWTR/ou=Alliance/cn=Recipients/cn=RDCampbell,"Campbell, Ronald",RDCampbell@NWTR.com,,,,,,, after sort...
  2. daveinOK2004

    CSV - Sorted vs unsorted source data - creates error

    Thanks for the <CSV_IN>;.. Worked like a charm and is much cleaner than the method I was using. Good point Steve, but I already checked that one. I've been bitten by that bug in times past when doing other stuff. Good thing to note though. Ishnid and everyone else, I'm trying to figure out...
  3. daveinOK2004

    CSV - Sorted vs unsorted source data - creates error

    I don't really know how to title this message, so hope that worked ;) I'm working on a program that parses and modifies a CSV file. The source file is an export of another companies address book. I make the necessary alterations to make it importable into our Active Directory as mail enabled...
  4. daveinOK2004

    case insensitive IF statement

    That worked like a charm. I hadn't found the lc() function. So much to learn, so little time to do it. Thanks for the answer.
  5. daveinOK2004

    case insensitive IF statement

    Here's what I'm trying to do: my @skipcn = ('KAbel', 'PAbell', 'tabney', 'TYost'); foreach my $compcn (@skipcn) { if ($compcn eq $cn) { print $compcn; } } This works, but is case sensitive. I'd like to make it non-case sensitive. I found the use of...
  6. daveinOK2004

    Trying to write a CSV file with commas

    OK, if that was really your intent with your post, then I appologize for my response. So many times, written posts like this are misinterpreted. I took your post to be a stab against me, and responded inappropriately.
  7. daveinOK2004

    Trying to write a CSV file with commas

    Ishnid, FYI, the reason I didn't post my code once I figured it out was that it wasn't complete yet. I'd rather post a commented, useful example than just a clip of code that doesn't do anything by itself. Thanks for making such a self serving unconstructive comment. Hope you feel better. For...
  8. daveinOK2004

    Trying to write a CSV file with commas

    No need to respond. I figured it out, using TEXT::CSV for output as well as input. Much cleaner.
  9. daveinOK2004

    Trying to write a CSV file with commas

    Greetings and thanks in advance for any responses. I'm new to Perl in particular and scripting in programming in general, and so far find it fascinating even if a bit frustrating at times. I'm trying to write a PL file that will take one CSV file, parse it in (which I have done using...

Part and Inventory Search

Back
Top