Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: win32 OLE in deeper details

by rohit_raghu (Acolyte)
on Aug 03, 2012 at 06:23 UTC ( #985161=note: print w/ replies, xml ) Need Help??

in reply to win32 OLE in deeper details


I'm a beginner in perl myself, but I can answer some of the questions you've asked.

First off, there are several online tutorials on perl. Try this link before starting, or try downloading the relative chapters of 'Beginning Perl' from the perl website. Also, try the search bar first before asking such a huge question.

|| and the or operator both represent he same thing, only || has a a higher priority than or. If the code before the || returns a true value, i.e. is executed properly, then any thing after the || is ignored. Otherwise, it is executed. Try the piece of code below.

#!/usr/bin/perl 0 or print "0:false\n"; 1 or print "1:false\n"; 0 or die "Error\n"; print"Not executed";

2nd, -> and => are completely unrelated. See hashes and references. Also look at Object oriented programming in perl(OOP), and modules. Do NOT try programming in perl without first understanding hashes.

Scroll to the bottom of the SoPW page to post a question

Rohit Raghunathan

Comment on Re: win32 OLE in deeper details
Select or Download Code
Replies are listed 'Best First'.
Re^2: win32 OLE in deeper details
by Anonymous Monk on Aug 03, 2012 at 08:32 UTC

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2015-11-29 20:57 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (753 votes), past polls