View Single Post
Old 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
fivesidecube is an unknown quantity at this point
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 is offline   Reply With Quote