Hi,

I am executing following command

 my $cp = dircopy("D:\\vobs","D:\\backup");
 if ($cp == 0)
 {
  print " Copied successfuly\n";
 }
 else
 {
  print " Copying failed\n";
}

But in variable $cp proper value is not coming .Either it should come as 0 
or1 but it's coming as any junk value or no.

can anybody plz tell me what i am doing wrong 

Regards
Irfan Sayed

 

Reply via email to