Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Perl5 Internal Representation of string variable

by ig (Vicar)
on Oct 02, 2010 at 21:07 UTC ( #863107=note: print w/ replies, xml ) Need Help??


in reply to Re: Perl5 Internal Representation of string variable
in thread Perl5 Internal Representation of string variable

It will be helpful to distinguish between the strings that scalars contain and quoted strings, including string literals. Escape characters and special codes, such as "\r", "\n", "\t", etc. have special meaning in some quoted strings, depending on the type of quotes used (see Quote and Quote like Operators), but not in the values of scalars. The values of scalars are sequences of characters or bytes, depending on whether they are character or byte strings. A string may contain the characters '\' and 'n', but neither has any special meaning in that context - they are just characters (or bytes) in the string.


Comment on Re^2: Perl5 Internal Representation of string variable

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2014-08-01 02:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (256 votes), past polls