in reply to Re^2: Extracting money from a double quoted string
in thread Extracting money from a double quoted string

That's not "a double quoted string" it's "a string containing double quotes".

The difference is that a double quoted string in interpreted at compile time as a part of the program.

What you've constructed at runtime is not. It's just a scalar that contains some characters.

(Note:when you print a double quoted string; the quotes aren't printed. Their purpose is served by the time you get to runtime.)


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re^3: Extracting money from a double quoted string

Replies are listed 'Best First'.
Re^4: Extracting money from a double quoted string
by ww (Archbishop) on Dec 06, 2014 at 19:12 UTC

    Thanks for correction and your observation. From /me, ++, despite one misgiving:

    OP's description is sufficiently confused and confusing that it's not at all clear (until we read down to the updated reply) that he has any clue about the meaning of your distinction and -- obviously -- I failed to consider that distinction.