summaryrefslogtreecommitdiff
path: root/pod
Commit message (Collapse)AuthorAgeFilesLines
* perldelta: OP_PARENT, and require ::Foo::BarDavid Mitchell2016-05-141-2/+25
|
* fix link to crosby paper on hash complexity attackDoug Bell2016-05-111-1/+1
|
* make 'require ::Foo::Bar' dieDavid Mitchell2016-05-101-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | Originally, 'require ::Foo::Bar' would try to load /Foo/Bar.pm. The previous commit changed it so that ::Foo::Bar mapped to Foo::Bar, and so loaded Foo/Bar.pm in the @INC path. This commit takes the different approach of, instead of mapping, making any bareword require that starts with '::' into an error instead. It introduces a new error message: $ perl -e'require ::Foo::Bar' Bareword in require must not start with a double-colon: "::Foo::Bar" $ See the thread at: http://www.nntp.perl.org/group/perl.perl5.porters/2012/07/msg189909.html ( I originally used '"::"' rather than 'a double-colon', but that made the message a bit unpenetrable: Bareword in require must not start with "::": "::Foo::Bar" )
* Validate the 'require Bare::Word' pathname.Nicholas Clark2016-05-101-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At runtime in require, validate the generated filename after translation of '::' to '/' (and possible conversion from VMS to Unix format) to keep the code simpler. Reject empty module names, module names starting with '/' or '.' (ie absolute paths, hidden files, and '..'), and module names containing NUL bytes or '/.' (ie hidden files and '..'). Add a test for Perl_load_module(), and check that it now rejects module names which fall foul of the above rules. Most of these can't trigger for a sinple bareword require since the illegal module name will already have been rejected during parsing. However, the Perl_load_module() fakes up a rquire optree including a bareword OP_CONST, which *isn't* restricted by the lexer. Note that this doesn't apply to non-bareword pathnames: these are both unaffected: require "/foo/bar.pm"; $x = "/foo/bar.pm"; require $x; [ This is cherry-picked from a branch Nicholas wrote 4 years ago, but which was never merged. I've kept the body of the diff the same, modulo rebasing, but re-worded the commit title and message. Only one test was changed: the final one in load-module.t, since a \0 in a pathname is now trapped earlier and gives a "can't locate" error instead. For the same reason, it also required the addition of "no warnings 'syscalls';". - DAPM ]
* perldelta for e71f25b35412Tony Cook2016-05-101-0/+6
| | | | | I'm not sure that's in the right section, but I think it's a better fit than the others I considered.
* perldelta for 23695c073f41Tony Cook2016-05-101-1/+4
|
* Require literal '{' in patterns to be escapedKarl Williamson2016-05-092-5/+19
| | | | | This has been deprecated since v5.16, with a deprecation message displayed starting in v5.22.
* Make deprecated qr//xx fatalKarl Williamson2016-05-092-7/+14
| | | | This has been deprecated since v5.22
* Remove deprecated literal control char variable namesKarl Williamson2016-05-092-16/+8
| | | | These were deprecated in v5.20
* Stop accepting deprecated NBSP in \N{}Karl Williamson2016-05-092-14/+3
| | | | As scheduled for 5.26, this construct will no longer be accepted.
* perldelta: new v5.25.1 perldeltaRicardo Signes2016-05-094-17/+459
|
* perlhist: add v5.25.0 blockRicardo Signes2016-05-091-0/+2
|
* perldelta: add perl5250deltaRicardo Signes2016-05-084-2206/+2214
|
* final commit for v5.24.0!v5.24.0Ricardo Signes2016-05-081-1/+39
|
* perldelta: add Data::Alias to known broken listRicardo Signes2016-05-081-0/+2
|
* perldelta: known problemsRicardo Signes2016-05-071-0/+44
|
* RC5: bump release date out for v5.24.0v5.24.0-RC5Ricardo Signes2016-05-041-2/+2
|
* patchlevel, perlhist: another day, another RCRicardo Signes2016-05-031-0/+1
|
* perldelta: update module versionsv5.24.0-RC4Ricardo Signes2016-05-021-5/+13
|
* prepare v5.24.0-RC4Ricardo Signes2016-05-021-0/+2
|
* perllol: remove docs about the removed autoderef featurereneeb2016-04-302-47/+1
|
* Add cross-reference to perldata in scalar's documentationDominic Hargreaves2016-04-301-1/+2
| | | | Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810156
* perlrun: note the existence of find's -delete switchDominic Hargreaves2016-04-301-3/+4
| | | | Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=776614
* perl.pod: @INC is being displayed as intendedDominic Hargreaves2016-04-301-0/+3
| | | | | | | The previous presentation looked a bit like an incomplete placeholder expansion. Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=246542
* 5.22.2 todaySteve Hay2016-04-301-0/+1
| | | | (Manually cherry picked from commit 72ccbefa77099a0bf1b7c2cb9f29685ed7d9938d)
* Import 5.22.2's perldeltaSteve Hay2016-04-302-0/+387
|
* perlpolicy: add Sawyer X to list moderatorsRicardo Signes2016-04-281-1/+1
|
* bump version to v5.24.0-RC3v5.24.0-RC3Ricardo Signes2016-04-261-0/+1
|
* bump perl version to v5.24.0-RC2v5.24.0-RC2Ricardo Signes2016-04-231-0/+1
|
* Revert "document that sigs in future may not populate @_"Ricardo Signes2016-04-232-12/+3
| | | | This reverts commit 19d6c3854e96d89bf4dc2d874df433beac27ee8b.
* Fix some pod errorsKarl Williamson2016-04-224-5/+5
| | | | | These were discovered while testing the Pod::Checker that is intended to be used in 5.25.
* [perl #127936] fix typoTony Cook2016-04-201-1/+1
|
* perldelta for ab462c7d2dTony Cook2016-04-201-0/+7
|
* document that sigs in future may not populate @_David Mitchell2016-04-192-3/+12
| | | | | | | Give people a heads up that in the next major perl release, subroutine signatures may no longer populate @_ by default. See http://nntp.perl.org/group/perl.perl5.porters/235332.
* perldelta: Remove error/warning explanationsKarl Williamson2016-04-181-30/+0
| | | | | Only the text of these should be present in a delta, with a link to the full explanation. Most of perldelta conformed to this, but not all.
* perldelta: Add some C<>Karl Williamson2016-04-181-22/+23
|
* perldelta: Clarifications, corrections, wordsmithingKarl Williamson2016-04-181-30/+25
| | | | | I also removed one instance of a 5.23-only bug, which isn't relevant to a dot zero delta
* Add perldelta for d9fc04eeLeon Timmermans2016-04-191-0/+7
|
* perldelta: IO-Compress is a dist, no link possibleRicardo Signes2016-04-181-1/+1
|
* perldelta: generate the module update sectionRicardo Signes2016-04-181-1/+411
|
* perldelta: various fixesMatthew Horsfall2016-04-181-13/+45
| | | | | | | * behaviour -> behavior * =over -> =over 4 * Add =items for consistency * Capitalization fixes
* perldelta: Fix typoMatthew Horsfall2016-04-181-1/+1
|
* perldelta: Revise wordingKarl Williamson2016-04-181-2/+2
| | | | Some of this was suggested by Jarkko Hietaniemi
* perldelta: Remove typo extra '/'Karl Williamson2016-04-141-1/+1
| | | | This fixes the 5.24 part of [perl #127899].
* perldelta: minor tweak to fix awkward proseRicardo Signes2016-04-141-2/+2
| | | | (Thanks, Ed Avis!)
* remove the v5.23.x perldeltasRicardo Signes2016-04-1311-4305/+0
|
* perlpolicy: update the supported versions for v5.24 onRicardo Signes2016-04-131-3/+3
|
* perlhist: add v5.24.0 dataRicardo Signes2016-04-131-19/+22
|
* perllocale: Unicode has changed their data; fix referencesKarl Williamson2016-04-121-5/+11
| | | | We say something here that is no longer true; update it.
* perldelta: Some minor fixes.Karl Williamson2016-04-121-12/+6
| | | | | This includes deleting some bug fixes for things introduced in the 5.23 series, and so not relevant to a dot zero perldelta