perldoc perlre

My memory always fails me regarding the result of a Perl pattern match.
It depends on

- m// or s///
- scalar or list context
- /g qualifier

.... and I am not certain that that is all!

The details are in

perldoc perlre

but my question is whether the list thinks a more ordered document would
be useful?

I am happy to expand on and publish my pencilled notes, but other
people's input would be invaluable, and I would welcome other related
suggestions.

Rob

--
To unsubscribe, e-mail: beginners-unsubscribe [at] perl.org
For additional commands, e-mail: beginners-help [at] perl.org
http://learn.perl.org/
Rob Dixon [ Mo, 25 Juli 2011 15:45 ] [ ID #2062588 ]

Re: perldoc perlre

Hi Rob,

On Mon, 25 Jul 2011 14:45:02 +0100
Rob Dixon <rob.dixon [at] gmx.com> wrote:

> My memory always fails me regarding the result of a Perl pattern match.
> It depends on
>
> - m// or s///
> - scalar or list context
> - /g qualifier
>
> ... and I am not certain that that is all!
>

Heh, yes, that trips me too.

> The details are in
>
> perldoc perlre
>

That's not all there is there. And the "BUGS" section reads:

[QUOTE]
This document varies from difficult to understand to completely and
utterly opaque. The wandering prose riddled with jargon is hard to
fathom in several places.
[/QUOTE]

so possibly adding stuff to it would not be a good idea.

> but my question is whether the list thinks a more ordered document would
> be useful?

I think it would be, but maybe as an appendix to perldoc perlretut or a
greater document. If all else fails, then you can post it here and/or your
blog, and I can link it from http://perl-begin.org/topics/regular-expressio=
ns/
(or mirror it there, if the licence permits that.).

>
> I am happy to expand on and publish my pencilled notes, but other
> people's input would be invaluable, and I would welcome other related
> suggestions.
>

you can start by making a post here.

Regards,

Shlomi Fish

> Rob
>



--
------------------------------------------------------------ -----
Shlomi Fish http://www.shlomifish.org/
Why I Love Perl - http://shlom.in/joy-of-perl

My Commodore 64 is suffering from slowness and insufficiency of memory, and=
its
display device is grievously short of pixels. Can anybody help?
=E2=80=94 Omer Zak

Please reply to list if it's a mailing list post - http://shlom.in/reply .

--
To unsubscribe, e-mail: beginners-unsubscribe [at] perl.org
For additional commands, e-mail: beginners-help [at] perl.org
http://learn.perl.org/
Shlomi Fish [ Mo, 25 Juli 2011 20:40 ] [ ID #2062589 ]
Perl » gmane.comp.lang.perl.beginners » perldoc perlre

Vorheriges Thema: Import Files to Excel File
Nächstes Thema: perl memory issue