i wanted to open a file using perl and the output of print cmd to be added in that file. can i do it using perl ?
what if i use following the following ".pl " file.
[CODE=perl]open CONFIG, ">HELLO.txt ";
select CONFIG;
print "suceeded";[/CODE]
when i execute the above file, i get compilation error.
Can anybody tell me wht is the error in this script.
what if i use following the following ".pl " file.
[CODE=perl]open CONFIG, ">HELLO.txt ";
select CONFIG;
print "suceeded";[/CODE]
when i execute the above file, i get compilation error.
Can anybody tell me wht is the error in this script.
Comment