I am finding that in creating my project, I am using the same functions over and over again and I was wondering how hard it is to create either a PPM or some that could do some thing along the line like this.
This is only one example that I do. Now what i would like to do is this.
CheckFile($DestFile);
and do it.
Does this make sense and possible to do?
Thanks
Jim
Code:
# Check to see if file exsit, if so delete it.
if (-e "$DestFile"){
unlink($DestFile);
}
This is only one example that I do. Now what i would like to do is this.
CheckFile($DestFile);
and do it.
Does this make sense and possible to do?
Thanks
Jim