Since July 8th I'm experiencing a strange behavior in perl interpreter: it seems that it cannot open a file, but no error is shown.
I don't know if these days issues can produce this kind of problem. I am on starka and I can easily access cpanel, my db an so on.
This is the part of the code, perfectly working before that date:
#!/usr/bin/perl -w
print "Content-type: text/html\n\n";
$file=$ARGV[0];
open(FILE, "<$file") || die "*Error [0.0]* Opening the file $file\n\n";
while ($new_row = <FILE>) {
#Print the file
print "$new_row";
}#endWhile
close(FILE);
Is there anybody who knows the reason of that?
Thank you.
Bye,
Alex
I don't know if these days issues can produce this kind of problem. I am on starka and I can easily access cpanel, my db an so on.
This is the part of the code, perfectly working before that date:
#!/usr/bin/perl -w
print "Content-type: text/html\n\n";
$file=$ARGV[0];
open(FILE, "<$file") || die "*Error [0.0]* Opening the file $file\n\n";
while ($new_row = <FILE>) {
#Print the file
print "$new_row";
}#endWhile
close(FILE);
Is there anybody who knows the reason of that?
Thank you.
Bye,
Alex