Also look at the perlopentut manual page:
perldoc perlopentut
Cheers,
Kevin
On Mon, Jun 11, 2001 at 08:52:26PM -0500, bdale16 ([EMAIL PROTECTED]) spew-ed forth:
> I want a perl program when executed to send the data to a file such as text.txt but
>i dont need to open the file first.
> appare
To write to a file you would use something like:
open (FILEHANDLE, ">FILENAME");
this command will overwrite anything that already exists in this file or
create a new file if one doesn't already exist.
Or you could use
open (FILEHANDLE, ">>FILENAME");
this will open (or create) the file for a
On Monday 11 June 2001 21:23, Steve Howard wrote:
> Quick comment: Make sure the quote types match when opening the file:
>
>
> open (FILE, ">text.txt");
Yep, I knew I was going too fast.I've been mixing my quotes all
evening.
Quick comment: Make sure the quote types match when opening the file:
open (FILE, ">text.txt");
-Original Message-
From: - [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 11, 2001 10:15 PM
To: [EMAIL PROTECTED]
Subject: Re: how to create a file
On Monday 11 June 2001 1
On Monday 11 June 2001 19:52, bdale16 wrote:
> I want a perl program when executed to send the data to a file such as
> text.txt but i dont need to open the file first. apparently i don't
> understand what the command is to do this
>
> If it is open close or write ?
> any suggestions on the r