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

Re: Re: dot '.', comma ',' operators "oops" & "huh?"

by davido (Archbishop)
on Aug 21, 2003 at 22:41 UTC ( #285609=note: print w/ replies, xml ) Need Help??


in reply to Re: dot '.', comma ',' operators "oops" & "huh?"
in thread dot '.', comma ',' operators "oops" & "huh?"

I should also point out that if you want to dispell the notion that the comma, and the period, are doing the same thing in the context of the print statement (or anywhere else for that matter), try this:

#!/usr/bin/perl $, = "dad and "; print "Hi " . "mom!\n"; print "Hi " , "mom!\n";

Dave

"If I had my life to do over again, I'd be a plumber." -- Albert Einstein


Comment on Re: Re: dot '.', comma ',' operators "oops" & "huh?"
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2014-12-27 15:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls