- 134 名前:nobodyさん [2007/05/29(火) 00:59:04 ID:+KVPsKMz]
- 質問です。
#!/usr/bin/perl open (IN,"< http://あqwせdrftgyふじこ/test.dat") ; @LINES = <IN>; close(IN); print "Content-type: text/html\n\n"; print "<html><head></head><body>"; foreach(@LINES){ print $_ . "\n"; } print "</body></html>"; } こんな感じでhttpから始まるURLをうって ファイルを開いて処理したいんですがどうやら読めないっぽいです。 open (IN,"test.dat") ; に変えると動いてくれるのですが、、、 仕様上不可能なんでしょうか?
|

|