in reply to RE: RE: RE: slash converter
in thread slash converter
...which outputs:#!perl -w use strict; # always open(F,">/temp/foo.txt") or die "Unable to open temp file for write: $!\n"; print F "This is a test. This is only a test.\n"; close(F); open(F,"/temp/foo.txt") or die "Unable to open temp file for read: $!\n"; while (<F>) { print "foo: $_"; } close(F); unlink ("/temp/foo.txt");
foo: This is a test. This is only a test.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: RE: RE: RE: slash converter
by Fastolfe (Vicar) on Oct 13, 2000 at 22:14 UTC |