B
bernard_reims
Hi,
I'm new in perl world.
I suppose the answer to my question is simple .
I did a very basic .pl :
open(FILE, "file.txt");
while(<FILE>){
print "test"
}
close(FILE);
This does not do anything, but when I try to run it, I have this
message
line1: syntax error near unexpected token "FILE,"
Do you know what is the issue ?
Thanks
I'm new in perl world.
I suppose the answer to my question is simple .
I did a very basic .pl :
open(FILE, "file.txt");
while(<FILE>){
print "test"
}
close(FILE);
This does not do anything, but when I try to run it, I have this
message
line1: syntax error near unexpected token "FILE,"
Do you know what is the issue ?
Thanks