----- Original Message -----
From: "Weir, Jason - Contractor" <[EMAIL PROTECTED]>
To: "'Matthew Wagenknecht'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>; "Perl-Win32-Admin (E-mail)"
<[EMAIL PROTECTED]>
Sent: Tuesday, April 02, 2002 3:27 PM
Subject: RE: Win32::LanMan question
>
>
> How I get around that is to put the function inside a
subroutine like this
>
> sub NetUseAdd{
> Win32::Lanman::NetUseAdd(\%Hash) || return;
> }
Try:
sub NetUseAdd{
return(Win32::Lanman::NetUseAdd(\%Hash));
}
This will return the result of the NetUseAdd. I would change the
name of the subroutine though, since it is the same name as the
routine in Win32::Lanman.
ego
Edward G. Orton, GWN Consultants Inc.
Phone: 613-764-3186, Fax: 613-764-1721
email: [EMAIL PROTECTED]
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs