Thread
:
Read file /text data into a web app.
View Single Post
10-14-2002, 12:51 PM
PM User
|
#
2
fivesidecube
New Coder
Join Date: Sep 2002
Location: Up North (UK)
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Sscotties,
You need to turn around the
open(OUT, ">$address");
to read
open(IN, "
<
$address");
Now you can read from the IN filehandle and write to the standard output:
Code:
while (<IN> ) { print $_; }
Hope this helps,
Fivesidecube
fivesidecube
View Public Profile
Find More Posts by fivesidecube