Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Re: MS Outlook GetSharedDefaultFolder

by Mitch (Sexton)
on Sep 03, 2003 at 18:56 UTC ( [id://288706]=note: print w/replies, xml ) Need Help??


in reply to Re: MS Outlook GetSharedDefaultFolder
in thread MS Outlook GetSharedDefaultFolder

The problem seems to be with
$p2 = $namespace->GetSharedDefaultFolder($recipient, 6)

using == or eq in the if doesn't help. I am able to successfully resolve the address before this statement by usingprint $recipient->address;

Mitch

Replies are listed 'Best First'.
Re: Re: Re: MS Outlook GetSharedDefaultFolder
by Mr. Muskrat (Canon) on Sep 03, 2003 at 19:49 UTC
    Wait a minute. You want to assign the value of $namespace->GetSharedDefaultFolder($recipient, 6) to $p2? Then why did you put the assignment inside of an if statement?
      Because $p2 = $namespace->GetSharedDefaultFolder($recipient,6) returns a lvalue, which the "if" operator interprets as true, if GetSharedDefaultFolder() succeeds. Otherwise it returns undef which "if" interprets as false.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://288706]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2024-04-25 18:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found