H
Huub
Hi,
I'm writing a .pl in which I want to write to file:
format OUTPUT_FILE =
$buffer = "";
$INPUT_FILE = "BESTAND";
$OUTPUT_FILE = UITBESTAND;
open(INPUT_FILE) || die("Fout met openen inlees-bestand");
close(INPUT_FILE);
open(OUTPUT_FILE,">UITBESTAND") || die("Fout met openen te schrijven
bestand");
{do something}
write(OUTPUT_FILE);
close(OUTPUT_FILE);
This is the error I get:
bash-2.05b$ perl PROJECT.pl
Format not terminated at PROJECT.pl line 43, at end of line
syntax error at PROJECT.pl line 43, at EOF
Execution of PROJECT.pl aborted due to compilation errors.
line 43 is the last line.
Can somebody tell me what's wrong?
Thank you,
Huub
I'm writing a .pl in which I want to write to file:
format OUTPUT_FILE =
$buffer = "";
$INPUT_FILE = "BESTAND";
$OUTPUT_FILE = UITBESTAND;
open(INPUT_FILE) || die("Fout met openen inlees-bestand");
close(INPUT_FILE);
open(OUTPUT_FILE,">UITBESTAND") || die("Fout met openen te schrijven
bestand");
{do something}
write(OUTPUT_FILE);
close(OUTPUT_FILE);
This is the error I get:
bash-2.05b$ perl PROJECT.pl
Format not terminated at PROJECT.pl line 43, at end of line
syntax error at PROJECT.pl line 43, at EOF
Execution of PROJECT.pl aborted due to compilation errors.
line 43 is the last line.
Can somebody tell me what's wrong?
Thank you,
Huub