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=<NEW>) {
                        chop $line;
                        $string=$string.$line;
                        print OUT $string}

when I open the vi file test, it does not show the
string and says that line is too long. How can I make
this string "visible" ? The problem is that I dont
want new lines.

Best regards,

Melis



                
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to