in reply to Re^6: Processing CSV File
in thread Processing CSV File
You deserve a medal! That works perfectly!
The problem with #2 is;
If i open the .CSV in MS Excel, make a change and save it, then when i run the .pl, i get the following error:
Use of uninitialized value $vars in chomp at create-configs.pl line 18 +, <$csvfh> line 1. Use of uninitialized value $vars in split at create-configs.pl line 19 +, <$csvfh> line 1.
However, if i open the .CSV in excel, make the changes, then open it with something like Text Edit, and go to the end of each line in the CSV, and press delete, then enter (to put evreything back to its own line), then when I run the .pl it works perfectly..
Does that make sense? if not, let me know, and I will try and send you the files if possible, so you can know what i mean..
Once again, your help is invaluable..
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^8: Processing CSV File
by Kenosis (Priest) on Oct 05, 2012 at 04:45 UTC | |
by Anonymous Monk on Oct 05, 2012 at 04:58 UTC | |
by Kenosis (Priest) on Oct 05, 2012 at 05:11 UTC | |
by Perl3r (Novice) on Oct 05, 2012 at 05:30 UTC | |
by Kenosis (Priest) on Oct 05, 2012 at 05:39 UTC | |
|
In Section
Seekers of Perl Wisdom