Re: write new file to same dir

2005-02-11 Thread Gareth Johnston
On Fri, February 11, 2005 15:45, Brian Volk said: > Hi All, > > I'm having trouble w/ my script... I can open the dir, read the dir and even > get the s/// to work I just don't know how to write the new file to a > new dir. or the same dir for that matter... If someone could point > me >

Re: write new file to same dir

2005-02-11 Thread bright true
Hi , actually you're just opening a directory ... and you're not writing into a file to write a file .. you can use the following 1- with replace the old file open(FILE,">$dir/filenamt.txt"); print FILE "Something Here"; close(FILE); 2- to write into a file with out replace it .. (with out rem

RE: write new file to same dir

2005-02-11 Thread Brian Volk
y 11, 2005 12:27 PM > To: Brian Volk > Cc: Beginners (E-mail) > Subject: Re: write new file to same dir > > > Hi , > actually you're just opening a directory ... and you're not > writing into a file > to write a file .. you can use the following > 1- with replac

Re: write new file to same dir

2005-02-11 Thread Wiggins d'Anconia
Brian Volk wrote: Hi All, I'm having trouble w/ my script... I can open the dir, read the dir and even get the s/// to work I just don't know how to write the new file to a new dir. or the same dir for that matter... If someone could point me in the right direction I would really appr

Re: write new file to same dir

2005-02-11 Thread John W. Krahn
Brian Volk wrote: Hi All, Hello, I'm having trouble w/ my script... I can open the dir, read the dir and even get the s/// to work I just don't know how to write the new file to a new dir. or the same dir for that matter... If someone could point me in the right direction I would really

RE: write new file to same dir

2005-02-11 Thread Brian Volk
ginners (E-mail) > Subject: Re: write new file to same dir > > > Brian Volk wrote: > > Hi All, > > > > I'm having trouble w/ my script... I can open the dir, read > the dir and even > > get the s/// to work I just don't know how to write