Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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

wakatana,

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
Re^2: win32 OLE in deeper details
by Anonymous Monk on Aug 03, 2012 at 08:32 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2014-09-01 08:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (299 votes), past polls