Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: Outlook & Win32::OLE

by bassplayer (Monsignor)
on Aug 17, 2004 at 13:14 UTC ( #383651=note: print w/replies, xml ) Need Help??

in reply to Outlook & Win32::OLE

Here's a node I wrote, which has some sample code that might help, but more importantly, you should check out Super Search, using Win32::OLE and Outlook as keywords. Quite a broad range of (hopefully) related nodes.


Replies are listed 'Best First'.
Re^2: Outlook & Win32::OLE
by Nalina (Monk) on Aug 18, 2004 at 05:11 UTC
    I am new to perl. I had a look at ur node, what does '-f' stand for in the statement
    unlink $temp_file_name if -f $temp_file_name;
    and what is '$|' variable?
      -f is a file test operator used to see if a file is plain text. In my code, I was just deleting the file if it existed, and probably should have used -e. More information on file test operators can be found here.

      As far as $|++, this stops the buffering of the output. $|=1 is cleaner in this case, so I've updated my old node. For more info on $|++ and $|=1, here are some interesting, relevant nodes.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://383651]
[choroba]: I'm just repeating some else's words as I remembered them after having asked the same question
[choroba]: s/some/someone/
Discipulus what a pity all people do not speak only in eatalian..
[choroba]: we'd need video calls more often :)
[Discipulus]: i still suspect english has some logical 'curvature/ crookedness' that has and will have a big impact over programming
[Discipulus]: if you refere to gestures ++choroba
Discipulus still has problem with 'until' beyond simplest cases
[choroba]: ;-)
[Discipulus]: and larry studied natural languages too
[choroba]: Czechs have problems with unless

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2017-05-27 20:19 GMT
Find Nodes?
    Voting Booth?