perlquestion
anu_1
Hi ...
I am trying to get the system error msg when the directory creation is failed. The code is
<code>
unless (`mkdir -p "xyz/abc/test"`)
{
print "Not able to create directory";
die "$!";
}
</code>
This code is running in cgi-bin script and is the output displayed as HTML.
How to get the system error msg like permission denied...
When this code runs ..only the print part is displayed ..
Thanks for your help