On 12/05/2002 12:18 PM, Michael Lazzaro wrote:
On Thursday, December 5, 2002, at 02:11 AM, James Mastros wrote:
On 12/04/2002 3:21 PM, Larry Wall wrote:
\x and \o are then just shortcuts.
Can we please also have \0 as a shortcut for \0x0?
\0 in addition to \x, meaning the same thing? I
On Thu, Dec 05, 2002 at 09:18:21AM -0800, Michael Lazzaro wrote:
:
: On Thursday, December 5, 2002, at 02:11 AM, James Mastros wrote:
:
: >On 12/04/2002 3:21 PM, Larry Wall wrote:
: >>\x and \o are then just shortcuts.
: >Can we please also have \0 as a shortcut for \0x0?
:
: \0 in addition to
On Thursday, December 5, 2002, at 02:11 AM, James Mastros wrote:
On 12/04/2002 3:21 PM, Larry Wall wrote:
\x and \o are then just shortcuts.
Can we please also have \0 as a shortcut for \0x0?
\0 in addition to \x, meaning the same thing? I think that would get
us back to where we were wit
Larry Wall wrote:
On Mon, Dec 02, 2002 at 04:42:52PM -0500, Joseph F. Ryan wrote:
[...]
: As far as I know, *nothing* is special in a single quoted heredoc.
Here docs is where you *most* want the \qq[] ability. It is assumed that
the sequence "\qq[" will not occur by accident very often in the
On 12/04/2002 3:21 PM, Larry Wall wrote:
On Wed, Dec 04, 2002 at 11:38:35AM -0800, Michael Lazzaro wrote:
: We still need to verify whether we can have, in qq strings:
:
:\033 - octal (p5; deprecated but allowed in p6?)
I think it's disallowed.
Thank the many gods ... or One True
On Wednesday, December 4, 2002, at 11:47 AM, Larry Wall wrote:
This is great stuff, and I think it solves everything we were talking
about. Joseph, can you edit your doc to match all this? (If not, just
lemme know and I can help.)
If anyone can think of any more issues w/ strings and hered
Larry wrote:
: But I think we'd definitely like to introduce \d.
Can't, unless we change \d to in regexen.
Which we ought to be very wary of, given how very frequently it's
used in regexes.
Damian
On Wed, Dec 04, 2002 at 11:38:35AM -0800, Michael Lazzaro wrote:
: We still need to verify whether we can have, in qq strings:
:
:\033 - octal (p5; deprecated but allowed in p6?)
I think it's disallowed.
:\o33 - octal (p5)
:\x1b - hex (p5)
:\d12
"Michael Lazzaro" <[EMAIL PROTECTED]> wrote
> Note that \b conflicts with backspace. I'd rather keep backspace than
> binary, personally; I have yet to feel the need to call out a char in
> binary. :-) Or we can make it dependent on the trailing digits, or
> require the brackets, or require back
On Mon, Dec 02, 2002 at 04:42:52PM -0500, Joseph F. Ryan wrote:
: >Has this been vetted? $(...)/etc seem to cover this case, and & being
: >a qq() metachar makes using qq() strings to print HTML/XML difficult.
:
:
: Well, it was in Apoc 2:
: http://www.perl.com/pub/a/2001/05/03/wall.html#rfc 2
We still need to verify whether we can have, in qq strings:
\033 - octal (p5; deprecated but allowed in p6?)
\o33 - octal (p5)
\x1b - hex (p5)
\d123 - decimal (?)
\b1001- binary (?)
and if so, if these are allowed too:
\o{777}
It's o, not c.
Larry
> Date: Tue, 03 Dec 2002 18:39:27 -0500
> From: James Mastros <[EMAIL PROTECTED]>
>
> Huh? In that case, somebody should tell Angel Faus; "Numeric literals,
> take 3" says 0c777, and nobody disented. IIRC, in fact, nobody's
> descented to 0c777 since it was first suggested.
Well, except Larry.
On 12/03/2002 2:27 PM, Michael Lazzaro wrote:
I think we've been gravitating to a "language reference", geared
primarily towards intermediate/advanced users. Something much more
rigorous than beginners would be comfortable with (since it defines
things in much greater detail than beginners wou
Andrew Wilson wrote:
Do these nest arbitrarily?
q{my string \qq{interpolate $this \q{but not $this} or am $I} Just asking for trouble?}
As far as I know, yes. The current behavior already allows this,
unless the design team vetos it for some reason.
Thanks for all of the great suggestions;
On Mon, Dec 02, 2002 at 06:58:12AM -0500, Joseph F. Ryan wrote:
> A string is formed when text is enclosed by a quoting operator.
> There are two types of quoting operators: interpolating and
> non-interpolating. In interpolating constructs, the value of a
> variable is substituted for the variable
On Mon, Dec 02, 2002 at 02:36:52PM -0700, Luke Palmer wrote:
> > There are a few special cases for delimeters; specifically : and #.
> > : is not allowed because it might be used by custom-defined quoting
> s/is/are/; s/it/they/
> > operators to apply a property; # is allowed, but there cannot be a
On Monday, December 2, 2002, at 01:42 PM, Joseph F. Ryan wrote:
James Mastros wrote:
We need to decide if this is a user doc or a developer doc/language
specification. If it's the later, we need a regirous defintion of
what a pair is.
I'm more inclined towards a user doc; a rigorous definiti
Luke Palmer wrote:
=head3 Embedding Interpolated Strings
It is also possible to embed an interpolating string within a non-
interpolating string by the use of the \qq{} construct. A string
inside a \qq{} constructs acts exactly as if it were an interpolated
string. Note that any end-brackets,
James Mastros wrote:
Just a few more nits to pick...
On 12/02/2002 6:58 AM, Joseph F. Ryan wrote:
The q() operator allows strings to be made with
any non-space, non-letter, non-digit character as the delimeter instead
of '. In addition, if the starting delimeter is a part of a paired
set, suc
> Date: Mon, 02 Dec 2002 06:58:12 -0500
> From: "Joseph F. Ryan" <[EMAIL PROTECTED]>
>
> =pod
>
> =head1 Strings
>
> 'The quick brown $animal'
> "The quick brown $animal"
This will not format correctly in POD. Either indent or put it in a
list.
> =head2 Non-Interpolating Constructs
>
> Non-I
Just a few more nits to pick...
On 12/02/2002 6:58 AM, Joseph F. Ryan wrote:
The q() operator allows strings to be made with
any non-space, non-letter, non-digit character as the delimeter instead
of '. In addition, if the starting delimeter is a part of a paired
set, such as (, [, <, or {, then
I've integrated most of the proposed suggestions, as well as a section
on vstrings and a winged section on hash interpolation. So that leaves
these known issues:
- Reference stringification
- Default Object Strinigifcation
(.AS_STRING needs to be added to the doc as well, but I figure it
is st
23 matches
Mail list logo