Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Re: Re: (what are the evils of quoting lone scalars?) Re: Re: Should be simple, What don't I see?

by runrig (Abbot)
on Jun 14, 2002 at 23:22 UTC ( [id://174748]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: (what are the evils of quoting lone scalars?) Re: Re: Should be simple, What don't I see?
in thread Should be simple, What don't I see?

Do you really consider my $email = "$firstName" . "_" . "$lastName\@email.com"; quoting of a lone scalar?

I think it is, especially when you could just as well do:

my $email = "$firstName\_$lastName\@email.com"; or ............"${firstName}_$lastName\@email.com";

runrig - who has been doing too much VBScripting lately and is really appreciating perl's string interpolation.

  • Comment on Re: Re: Re: (what are the evils of quoting lone scalars?) Re: Re: Should be simple, What don't I see?
  • Select or Download Code

Replies are listed 'Best First'.
Re: Re: Re: Re: (what are the evils of quoting lone scalars?) Re: Re: Should be simple, What don't I see?
by crazyinsomniac (Prior) on Jun 14, 2002 at 23:28 UTC

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2024-04-25 23:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found