hi guys i bought a text to teach myself the
basics of perl.. .and so far i understand everything except i decided just for fun to type out one of the beginning sample programs directly from the text.. and well, it doesn't work
the sample is this:
#!/usr/bin/perl
@array = ( "Hello", 283, "there", 16.439 );
$i = 0;
while ( $i < 4 ) {
print "$i $array[ $i ]n";
++$i;
}
do any of you programmers out there see anything wrong with it?
my server is set up fine and programs like UBB run perfect on it so it's not a problem with my setup or whatever.. and i chmodded 755... i just can't see why it's returning a 500 internal server error
needless to say this is discouraging since this is a very basic example and it's not working