Hi dear Yitzle:

Thank you very much for you suggestion about the sustitution of the
code, required to treat separately the CSV file (from the perl code).

It has worked flawlessly :-)

Thank you (all) very much

Regards

On 26/06/2008, yitzle <[EMAIL PROTECTED]> wrote:
> On Thu, Jun 26, 2008 at 1:14 PM,  <[EMAIL PROTECTED]> wrote:
>> Hi dear Jeff:
>>
>> Thank you very much for your help
>>
>> Yiur script is working flawlessly
>>
>> Just another question:
>>
>> How could I re-write your script in order to treat the __DATA__
>> portion of your code as an external file ?
>>
>> I happen to have the whole CSV file and I would not want to mix
>> directly with it, but to reference it from the perl code
>>
>> How could I accomplish that ?
>>
>> Should I substitue the <DATA> for the name of the CSV file in the perl
>> code ?
>>
>> Thank you very much for any help
>>
>> Regards
>>
>> Erasmo
>
> Replace:
>     while(<DATA>) {
> with
>     while( <> ) {
> and then call the script like:
>     script.pl datafile
> or replace it with
>     open( my $fileHandle, "< datafile" ) or die;
>     while( <$fileHandle> ) {
>

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to