http://www.perlmonks.org?node_id=174748


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