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

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

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2018-05-25 00:30 GMT
Find Nodes?
    Voting Booth?