Advertisement

03.06.2008 at 12:42AM PST, ID: 23218809
[x]
Attachment Details

Correct syntax for reading and writing with CSV file

Asked by dolo21taf in Perl Programming Language

Tags: Perl

If I have the command to edit the input file, do I still need to split it and define each array or can the whole file just be read, split it, then add the commands below?  If that's not the right approach can you explain to me the right direction.
"null found" unless $array[5];        #####null check with exception of
splice(@array, -1);                   ###(removes the last element)

The other question i have is how do I assign specific ranges to the mm/dd/yy format?  For example, I want to have an mm/dd/yy format in which for january the range is between 1-31 while in february it's between 1-29 (leap year)?Start Free Trial
 
Loading Advertisement...
 
[+][-]03.06.2008 at 12:53AM PST, ID: 21058428

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.06.2008 at 01:02AM PST, ID: 21058466

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.06.2008 at 01:10AM PST, ID: 21058500

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.06.2008 at 05:57AM PST, ID: 21060131

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.06.2008 at 06:37AM PST, ID: 21060512

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Perl Programming Language
Tags: Perl
Sign Up Now!
Solution Provided By: Adam314
Participating Experts: 2
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628