-
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? ">#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?