| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Currently TODO'd for package arrays. The existing tests were only for
lexicals.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Otherwise we get assertion failures.
In fact, since seeking might be just for reading, we can’t coerce and
SvGROW either.
In fact, since the scalar might be modified between seek and write,
there is no *point* in SvGROW during seek, even for SvPOK scalars.
PerlIO::scalar assumes in too many places that the scalar it is using
is its own private scalar that nothing else can modify. Nothing could
be farther from the truth.
This commit moves the zero-fill that usually happens when seeking past
the end from seek to write. During a write, if the current position
is past the end of the string, the intervening bytes are zero-filled
at that point, since the seek hasn’t done it.
|
|
|
|
|
|
| |
This adds the index entries to perlsyn that were removed in
the previous commit, and mentions in perlsyn that the ellipsis
is also called a triple-dot.
|
|
|
|
|
| |
This has been superseded by c2f1e229, which adds it
to perlsyn.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Here is a patch against the second patch,
fixing typos reported to me.
|
|
|
|
|
|
| |
As previously explained, this patch against perlsyn
is part and parcel of the previous one against perlop
(two commits ago; perl #90906).
|
|
|
|
|
| |
Here is a patch against the first patch,
fixing typos reported to me.
|
|
|
|
|
|
|
| |
The thrust of this patch is to move the description of the ~~
operator into perlop where it properly belongs; given and when
remain relegated to perlsyn. This is also (nearly) the first-ever
set of examples for the smartmatch operator. Staggerment.
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
Changes for 0.9116 Thu Jan 5 22:45:06 2012
================================================
* add NAME headings in modules with POD, Debian
Lintian fixes, http://bugs.debian.org/65045
* Implement reload command in the shell
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
[dagolden bumped $VERSION and added ambs to the AUTHORS file]
Signed-off-by: David Golden <dagolden@cpan.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This eliminates the error ‘sort is now a reserved word’, which was
added for the sake of code that does close(sort) at about the time
that sort became a keyword.
As Tom Christiansen pointed out, it has been long enough.
This error only occurred with ) or ; after the keyword. In other
cases with no arguments, like {sort} and (sort,0), it was treated as
an empty list.
So this commit makes it follow that.
Since the tests triggered it, this commit also fixes a crash caused by
commit 540dd770, which, when seeing whether it can optimise something
like ‘@a = sort @a’, assumes that there is something after the sort,
and crashes when there isn’t, as in {@a = sort}.
|
|
|
|
|
|
|
|
|
|
|
| |
This reminds users to put version guards on their neologisms.
We're changing Perl's basic sytnax a great deal, and users need
to understand that to use those syntactic changes will cause
weird errors if they don't put this sort of thing in. This
sort of thing really should have gone in all along. Let's
please continue what I have begun.
I also fixed the order: untie does not precede unshift. :(
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
return and leavesub, for speed, were not copying temp variables with a
refcount of 1, which is fine as long as the fact that it was not cop-
ied is not observable.
With magical variables, that *can* be observed, so we have to forego
the optimisation and copy the variable if it’s magical.
This obviously applies only to rvalue subs.
|
|
|
|
|
| |
If we are going to skip all set-magic when restoring a localised tied
$_, there’s no point in looping through it.
|
|
|
|
|
|
| |
$#a > $[ is a legitimate use of $[ with >. So warning in that case
is not nice. Most version comparisons are done with constants, like
5.006, so warn only for constants.
|
|
|
|
|
|
|
|
| |
installperl now requires Porting/pod_lib.pl, which uses Digest::MD5,
which means we need something that can do dynamic loading (or has
extensions statically linked in). But it doesn't really matter
because presumably we wouldn't be installing Perl if we hadn't
built it, so use the perl we've built rather than miniperl.
|
| |
|
| |
|
|
|
|
|
| |
This commit finishes the work of 658a9f3 by skipping FETCH as well as
STORE during local($_).
|
|
|
|
| |
This was mentioned in ticket #75156.
|
|
|
|
| |
thanks, Jim Keenan
|
|
|
|
|
|
| |
[DELTA]
No change log found for 4.0 release
|
| |
|
| |
|
| |
|
|
|
|
| |
following Karl Williamson’s suggestion.
|
|
|
|
|
|
| |
Until now, an unpaired \E (that is, one lacking a \U, \L or \Q)
would just pass through unnoticed. This commit changes that
behavior to issue a warning instead.
|
|
|
|
| |
I think. I haven’t actually tested it.
|
| |
|
| |
|
|
|
|
| |
Fixes cpan bug #50315.
|
| |
|
| |
|