try to change the shebang to #!/bin/sh
first of all: you shouldn't use the backticks `` if you dont want to
have the output of the program.
2nd: don't use touch, chmod, etc... there are many ways to do it much
faster in perl. everytime you do somethink like that you invoke a
fork() and start a ne
Hi everybody,
I have a perl script, which can write some message to a new file,
looks like the following.
my $cmd="touch /data3/OGCserver-xu/htdocs/tmp/$time".".kml";
`$cmd`;#`touch ../../htdocs/tmp/xuhuanxiang.kml`;
`chmod 777 /data3/OGCserver-xu/htdocs/tmp/$time.kml`;
open (XHX,">","/data3/OG