Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

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";


"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?

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2014-09-16 10:52 GMT
Find Nodes?
    Voting Booth?

    How do you remember the number of days in each month?

    Results (9 votes), past polls