Error: Line too long

2004-10-22 Thread Melis Mutlu
Hi, I would like to write a whole string into a file with the following code: open(NEW, "new.txt") or die "cannot open new_acl.txt"; open(OUT, ">test"); while(my $line=) { chop $line; $string=$string.$line; print OUT $string

Re: Error: Line too long

2004-10-22 Thread Owen
On Fri, 22 Oct 2004 02:05:33 -0700 (PDT) Melis Mutlu <[EMAIL PROTECTED]> wrote: > Hi, > > I would like to write a whole string into a file with > the following code: > > open(NEW, "new.txt") or die "cannot open new_acl.txt"; > open(OUT, ">test"); > while(my $line=) { > c

Re: Error: Line too long

2004-10-22 Thread David le Blanc
On Fri, 22 Oct 2004 02:05:33 -0700 (PDT), Melis Mutlu <[EMAIL PROTECTED]> wrote: > Hi, > > I would like to write a whole string into a file with > the following code: > > open(NEW, "new.txt") or die "cannot open new_acl.txt"; > open(OUT, ">test"); > while(my $line=) { >cho