why won't this script work?

Jauder Ho (jauderho@med.umich.edu)
Wed, 10 May 1995 13:55:41 +0500


Can someone tell me why the following cgi script won't work?

#!/usr/local/bin/perl

open(AHOST,"ahosts");
while (<AHOST>) {
print $_;
}

ahost is just a text file in the same directory

====================================================================
Jauder Ho http://spwww.mcit.med.umich.edu/~jauderho/
Special Projects jauderho@med.umich.edu
Medical Center Information Technology (MCIT)
University of Michigan Medical Center, B1911 CFOB
1414 Catherine Street, Ann Arbor, MI 48109-0704 (313) 936-4897
====================================================================