Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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 ( #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
Node Status?
node history
Node Type: note [id://174748]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2019-06-27 10:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Is there a future for codeless software?



    Results (111 votes). Check out past polls.

    Notices?