in reply to Remove multiple lines of text

Larry,

There are many different possible problems with your script.

Fix these errors and you will be further along ... but I am not sure if I understand exactly what you are wanting to do.

Follow up with some more details, and I will punch out a general outline for your script.

HTH

- f o o g o d

Replies are listed 'Best First'.
Re: Remove multiple lines of text
by mandog (Curate) on Sep 21, 2001 at 10:00 UTC
    Actually you don't have to use the \\ escaped backslashes. See this tutorial node by tachyon and commentary by various other people.

    As a quick test you can paste the code below into a file on your local system and run it w/o error

    use strict ; use warnings; use diagnostics ; # explain the warnings open(FH,">C:/tmp.txt") || die "blah blah $!"; print FH "some text\n"; close(FH); open(FH, "<C:/tmp.txt"); my $test=<FH>; print $test;

    --mandog