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
>
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
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
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
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
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