[EMAIL PROTECTED] wrote:
> Hello all,
> 
>   I need to create a .txt file and then print some text to it.... 
> Does anyone know how to do this? 
> 
> Thanks in advance.......
> Kurt

        By opening, printing, you will have a text file:

        open(MYTEXTFILE, ">text.txt") || die "Unable to open text.txt: $!";
        for(my $MyId=0;$MyId<100;$MyId++) {
         printf MYTEXTFILE "%5d\n", $MyId;
       }
      close(MYTEXTFILE);

        You now have a text file.

        Wags ;)


**********************************************************
This message contains information that is confidential
and proprietary to FedEx Freight or its affiliates.
It is intended only for the recipient named and for
the express purpose(s) described therein.
Any other use is prohibited.
****************************************************************


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to