perldoc perlre
am 25.07.2011 15:45:02 von Rob Dixon
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@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/
Re: perldoc perlre
am 25.07.2011 20:40:40 von Shlomi Fish
Hi Rob,
On Mon, 25 Jul 2011 14:45:02 +0100
Rob Dixon wrote:
> My memory always fails me regarding the result of a Perl pattern match.
> It depends on
>=20
> - m// or s///
> - scalar or list context
> - /g qualifier
>=20
> ... and I am not certain that that is all!
>=20
Heh, yes, that trips me too.
> The details are in
>=20
> perldoc perlre
>=20
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.).
>=20
> 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.
>=20
you can start by making a post here.
Regards,
Shlomi Fish
> Rob
>=20
--=20
------------------------------------------------------------ -----
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?=20
â=94 Omer Zak
Please reply to list if it's a mailing list post - http://shlom.in/reply .
--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/