Removing the use of Text::CSV is a major backward step! Consider what happens if a family of products have titles of the form:
Nugget Type Acme Widget, blue
Your code will now generate a badly formed csv file because the comma in the product title is seen as a field separator. With Text::CSV generating the output at least the file is generated correctly and the comma containing title is correctly quoted.
In reply to Re^2: Modifying an existing Perl script to ask for input and output filenames and also remove double quotes for outfile file
by GrandFather
in thread Modifying an existing Perl script to ask for input and output filenames and also remove double quotes for outfile file
by ei6eqb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |