summaryrefslogtreecommitdiff
path: root/pod/perlop.pod
Commit message (Collapse)AuthorAgeFilesLines
* perlop.pod: Clarify -’s string/number distinctionFather Chrysostomos2010-10-041-5/+6
|
* [perl #22193] Clarify references to ‘use integer’ in perlopCasey West2010-09-281-7/+7
|
* Teach Perl about Unicode named character sequencesKarl Williamson2010-09-251-2/+2
| | | | | | | | | | | | | mktables is changed to process the Unicode named sequence file. charnames.pm is changed to cache the looked-up values in utf8. A new function, string_vianame is created that can handle named sequences, as the interface for vianame cannot. The subroutine lookup_name() is slightly refactored to do almost all of the common work for \N{} and the vianame routines. It now understands named sequences as created my mktables.. tests and documentation are added. In the randomized testing section, half use vianame() and half string_vianame().
* * Fixed output for lex-like scanners example in perlopbrian d foy2010-09-231-4/+4
| | | | | This should probably be given-when instead of a naked block and a redo
* Fix /[\8]/ to not match NULL; give correct warningKarl Williamson2010-09-161-3/+0
| | | | | | | | | | 8 and 9 are not treated as alphas in parsing as opposed to illegal octals. This also adds tests to verify that 1-3 digits work in char classes. I created an isOCTAL macro in case that lookup gets moved to a bit field, as I plan to do later, for speed.
* perlop.pod: Reword escapes that have ordinalsKarl Williamson2010-07-261-49/+59
|
* perlop.pod: document \o{} escapeDavid Golden2010-07-171-16/+30
| | | | This is a merge resolution based on original work by Karl Williamson.
* perlop.pod: Rephrase hexadecimal escape wordingDavid Golden2010-07-161-25/+61
| | | | | | | Clarifies how hexadecimal escapes are interpreted, with particular attention to the treatment of invalid characters. Based on an original draft patch by Karl Williamson.
* perlop.pod: Document current \000 \x behaviorKarl Williamson2010-07-131-21/+58
| | | | Signed-off-by: David Golden <dagolden@cpan.org>
* Fix typoAbigail2010-07-081-1/+1
|
* Rephrase perlop for non-destructive substitutionDavid Golden2010-05-221-6/+6
|
* Add s///r (non-destructive substitution).David Caldwell2010-05-221-6/+26
| | | | | | | | | | | | | | | | This changes s/// so that it doesn't act destructively on its target. Instead it returns the result of the substitution (or the original string if there was no match). In addition this patch: * Adds a new warning when s///r happens in void context. * Adds a error when you try to use s///r with !~ * Makes it so constant strings can be bound to s///r with =~ * Adds documentation. * Adds some tests. * Updates various debug code so it knows about the /r flag. * Adds some new 'r' words to B::Deparse.
* PATCH: Clean up EBCDIC handling of \cXKarl Williamson2010-05-171-3/+3
| | | | | | | | | | The function perl_ebcdic_control() is unnecessary, as the toCTRL macro that calls it can be changed to just map EBCDIC to ASCII first, and then doing the normal procedure. This means that EBCDIC and ASCII will no longer diverge. Currently, EBCIDIC gives a syntax error for inputs outside its domain, whereas the ASCII version accepts some of them.
* Fix to display ok in 80 columnsKarl Williamson2010-05-081-24/+25
|
* Clarify \c in perlop.pod.Karl Williamson2010-04-261-24/+61
| | | | And structure the table containing \c better.
* [perl #74198] Typo in perlop(1)Rafael Garcia-Suarez2010-04-131-2/+2
| | | | reported by rrt@sc3d.org
* Document parsing changes for [perl #56444] patchKarl Williamson2010-02-281-0/+5
|
* Document \N{U+...}Karl Williamson2010-02-281-5/+10
|
* * Fill out the docs on the yada to show it as a satand in for statements, ↵brian d foy2010-01-281-10/+57
| | | | not expressions
* * Note that the flip-flop operator maintains state across subroutine callsbrian d foy2010-01-261-17/+17
|
* * Em dash cleanup in pod/brian d foy2010-01-131-4/+4
| | | | | | | | | | | | | I looked at all the instances of spaces around -- and in most cases converted the sentences to use more appropriate punctuation. In general, the -- in the perl docs seem to be there only to make really complicated and really long sentences. I didn't look at the closed em-dashes. They probably have the same sentence-complexity problem. I left some open em-dashes in place. Those are the ones used in lists.
* * fix a perlop fix from debian: http://bugs.debian.org/514814brian d foy2009-12-271-2/+2
| | | | | | | | | | | | | | | | | The original said C<< <I<filehandle>> >> The italic is probably meant for "filehandle", which is a stand-in for a concrete filehandle. The italic should not apply to the syntax for the line input operator. The fix turned it inside out and brought back the ugly interior sequences: I< C< E<lt>filehandleE<gt> > > It's much better without worrying about the italic face.
* Pod formatting fixJosh ben Jore2009-09-291-1/+1
|
* Pod formatting fixRoberto C. S�nchez2009-09-291-1/+1
| | | | Signed-off-by: Josh ben Jore <jjore@cpan.org>
* Use alternative URLs for links which are now broken (link rot)Leon Brocard2009-09-041-1/+1
|
* Document better what is allowed as regex delimitersDavid Nicol2009-08-301-8/+10
| | | | Identifier characters are allowed. Also add a test
* Removed '...' ellipses from docs about '...' flip-flop operatorKen Williams2009-08-111-4/+4
|
* Remove !!! and ??? operatorsRafael Garcia-Suarez2009-07-221-24/+5
| | | | | Those were adding non backwards compatible syntax, unlike "...", as pointed out in bug #67646.
* Revised description of => operatorIan Goodacre2009-06-091-7/+11
| | | | | | Provided more explicit description of the words that are handled specially by the => operator and removed the incorrect description of how other expressions are handled.
* Re: [PATCH] [doc] be more explicit about magic argvMoritz Lenz2008-10-301-0/+12
| | | | | Message-ID: <20081030182902.25398.qmail@lists.develooper.com> p4raw-id: //depot/perl@34670
* Fix typo in perlop.podJerry D. Hedden2008-05-191-1/+1
| | | | | | From: "Jerry D. Hedden" <jdhedden@cpan.org> Message-ID: <1ff86f510805190858v4a7f6e06k5f949ff31384137d@mail.gmail.com> p4raw-id: //depot/perl@33870
* Add ..., !!!, and ??? operatorschromatic2008-05-181-1/+34
| | | | | Message-Id: <200805101252.11961.chromatic@wgz.org> p4raw-id: //depot/perl@33858
* New separations for the pattern match operator documentation,David Nicol2008-05-181-0/+6
| | | | | | | | | suggested by David Nicol: Subject: It's wafer thin! From: "David Nicol" <davidnicol@gmail.com> Message-ID: <934f64a20805091114y40595f9ap9d355b39f20779c1@mail.gmail.com> p4raw-id: //depot/perl@33852
* Modulo operator and floating point numbersKen Williams2008-02-181-5/+7
| | | | | | From: "Ken Williams" <kenahoo@gmail.com> Message-ID: <6a7ee8cc0802162122r4e59b93boee18b1f045b8954d@mail.gmail.com> p4raw-id: //depot/perl@33328
* [perl #50364] [PATCH] perlop.pod - misnomer in % operator documentation Martin Hasch2008-02-081-1/+1
| | | | | | From: mhasch@cpan.org (via RT) <perlbug-followup@perl.org> Message-ID: <rt-3.6.HEAD-4355-1201568166-693.50364-75-0@perl.org> p4raw-id: //depot/perl@33257
* '~~' is not a feature [repost]Jerry D. Hedden2008-01-061-2/+0
| | | | | | From: "Jerry D. Hedden" <jdhedden@cpan.org> Message-ID: <1ff86f510801041111q1730ce02hbcac80b91d78a244@mail.gmail.com> p4raw-id: //depot/perl@32870
* POD cleanupsDavid Landgren2007-10-041-1/+1
| | | | | Message-ID: <46FD4B30.9070802@landgren.net> p4raw-id: //depot/perl@32026
* Remove the 'err' keywordRafael Garcia-Suarez2007-09-071-13/+6
| | | p4raw-id: //depot/perl@31812
* Documentation updates for new regexp featuresRafael Garcia-Suarez2007-08-071-2/+2
| | | p4raw-id: //depot/perl@31683
* perlfunc.pod (ref results), perlop.pod (qr// result) Wolfgang Laun2007-03-141-1/+5
| | | | | Message-ID: <45F79CAD.5050005@thalesgroup.com> p4raw-id: //depot/perl@30575
* Indexing and POD fixesRafael Garcia-Suarez2007-02-241-6/+8
| | | p4raw-id: //depot/perl@30386
* Re: [PATCH] Document that m//k worksYves Orton2007-02-141-195/+195
| | | | | Message-ID: <9b18b3110702131304q370f3530j463c1a59c5ac1dfe@mail.gmail.com> p4raw-id: //depot/perl@30278
* Document that m//k works, by Ævar Arnfjörð BjarmasonRafael Garcia-Suarez2007-02-121-1/+1
| | | p4raw-id: //depot/perl@30220
* perlop.pod - proposal to add an explanation of \cWolfgang Laun2007-02-061-5/+13
| | | | | | From: "Wolfgang Laun" <wolfgang.laun@gmail.com> Message-ID: <17de7ee80702030723m4265bbfkc83644d55a24aa0@mail.gmail.com> p4raw-id: //depot/perl@30150
* Add support for /k modfier for matching along with ${^PREMATCH}, ${^MATCH}, ↵Yves Orton2007-01-151-8/+13
| | | | | | | | ${^POSTMATCH} Message-ID: <9b18b3110701111731x29b1c63i57b1698f769b3bbc@mail.gmail.com> (with tweaks) p4raw-id: //depot/perl@29831
* Re: [perl #41215] % on scalars sometimes throws away fractions SADAHIRO Tomoyuki2007-01-101-2/+10
| | | | | | | Message-Id: <20070109233928.07AF.BQW10602@nifty.com> plus nits by Dominic Dunlop p4raw-id: //depot/perl@29744
* Fix case in external pod linkRafael Garcia-Suarez2006-11-021-1/+1
| | | p4raw-id: //depot/perl@29192
* <tr> isnb't the same as C<tr>, and <tr> looks so stupid in manH.Merijn Brand2006-10-191-1/+1
| | | p4raw-id: //depot/perl@29055
* remove leaveit from toke.c:scan_constSADAHIRO Tomoyuki2006-10-161-10/+6
| | | | | Message-Id: <20061015222223.BC38.BQW10602@nifty.com> p4raw-id: //depot/perl@29026
* Re: \N{...} in regular expression [PATCH]SADAHIRO Tomoyuki2006-09-211-4/+3
| | | | | Message-Id: <20060921204520.80A6.BQW10602@nifty.com> p4raw-id: //depot/perl@28878