Hi,

 

I am pretty new user of perl.

 

I have the following subroutine to unmap a drive

 

sub UnmapADrive

{

  my($drive) = @_;

  print " drive to unmap is $drive\n";

  Unmap($drive);

}

 

The print returns the right drive letter, but Unmap($drive) fails.

 

Any idea why?

Thanks in advance,

Shobha

 

_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to