P
prashant_ec2003
one of the lines in my script is
open(FH,"|system(dir) > E:\\a\\temp111.txt");
whenever i run perl <script-name>.it says bad command or file name .
but fewdays back it had worked well and the file temp111.txt was
created.but if i try to run the code again after deleting the
temp111.txt now it is not working .
Any idea or suggestions are welcome
Thanks
pras
open(FH,"|system(dir) > E:\\a\\temp111.txt");
whenever i run perl <script-name>.it says bad command or file name .
but fewdays back it had worked well and the file temp111.txt was
created.but if i try to run the code again after deleting the
temp111.txt now it is not working .
Any idea or suggestions are welcome
Thanks
pras