#create directory if not thereif ( ! -s "$temp/engl_2/wf" ) { system "mkdir -p $temp/engl_2/wf";}if ( ! -s "$temp/backup_basedir" ) { system "mkdir -p $temp/backup_basedir";}${pack_2}= -M "${temp}/engl_2/wf/${wf_package_name}.data";${new_pack}= -M "${pack}/package.data";This is a sample script of perl language.What is the use of "-s" and "-M" in the above script?

Showing Answers 1 - 2 of 2 Answers

vinod

  • Sep 9th, 2007
 

-s ==> Is filename a non-empty file?
-M ==> How long since filename modified?

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions