Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^4: OO Inline::C - returning $self not working

by PodMaster (Abbot)
on Mar 08, 2006 at 14:57 UTC ( #535180=note: print w/ replies, xml ) Need Help??


in reply to Re^3: OO Inline::C - returning $self not working
in thread OO Inline::C - returning $self not working

If whitespace does not truly matter, how does the interpreter know when a line ends?
Because its not absolutely true. 'perldoc perlsyn'
Perl is a free-form language, you can format and indent it however you
like. Whitespace mostly serves to separate tokens, unlike languages like
Python where it is an important part of the syntax.

...

Text from a "#" character until the end of the line is a comment, and is
ignored. Exceptions include "#" inside a string or regular expression.

update: perldoc perlintro'
Comments start with a hash symbol and run to the end of the line
# This is a comment
Whitespace is irrelevant:
print "Hello, world" ;

MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
** The third rule of perl club is a statement of fact: pod is sexy.


Comment on Re^4: OO Inline::C - returning $self not working
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (17)
As of 2014-08-27 13:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (238 votes), past polls