| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
This resolves perl #86140 by making the docs match the
longstanding behaviour.
|
| |
|
| |
|
|
|
|
|
| |
This was due to my oversight in not fixing this switch statement
to accommodate /aa when it was added.
|
|
|
|
|
| |
This clarifies that the definitions presented here are valid only when
/a is specified.
|
|
|
|
|
|
|
| |
Using the synonymous name means one less special case that people have
to learn. Now, the only name for these classes that doesn't begin with
'Posix' is the one which is slightly different from the standard Posix
one
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
This emphasized that the /dul modifiers should rarely be used
explicitly, but are automatically selected when various pragma are in
effect.
It also calls the /a parameter ASCII-safe or ASCII-restrict instead of
plain ASCII, as this is more accurate.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
Changes for 0.30 Mon Jul 25 14:44:40 2011
============================================
* Resolve [rt #69626] reported by Diab Jerius,
WARNINGS_FATAL should apply to all check()
failures now.
|
|
|
|
|
| |
These prototypes are not correct, and the parsing rules cannot be repre-
sented by a prototype.
|
|
|
|
|
|
|
|
| |
[DELTA]
1.13 Mon Jul 25 21:07:49 2011
- tried fixing the tarball with world writable files.
( http://www.perlmonks.org/?node_id=731935 )
|
|
|
|
|
|
|
|
| |
[DELTA]
0.78 Mon Jul 25 21:29:50 2011
- tried fixing the tarball with world writable files.
( http://www.perlmonks.org/?node_id=731935 )
|
|
|
|
|
|
|
|
| |
[DELTA]
Changes for 0.9109 Tue Jul 19 22:44:53 2011
================================================
* Fix support for v-strings and x.y.z versions with v5.8.4
|
|
|
|
|
|
| |
I was too quick to submit the previous patch to perldiag. I only
realised after committing it that it contained factual errors.
defined(%foo) is still unreliable.
|
|
|
|
|
|
|
|
|
|
| |
I found the perldiag.pod description of item "defined(%hash) is
deprecated" unclear.
At first I thought it was threatening another incompatible change, but
if I'm not mistaken it's merely that defined %hash has only ever been a
check for non-empty, which may not be what you intended. If so then
perhaps a wording like the following could make it clearer,
|
| |
|
|
|
|
|
|
|
|
| |
This is by no means exhaustive; just a few things that I noticed.
This commit rewraps a couple of sections to fit in 80-column termi-
nals, fixes some indentation that was ‘fixed’ when tabs were con-
verted to spaces, and makes a few other tweaks.
|
|
|
|
| |
plus some minor tweaks
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes a regression introduced in 5.15.0.
Commit 767eda44 made autovivification work with scalars returned from
lvalue subs. In doing so, as it made entersub an autovivifying op,
it had to add SvGETMAGIC calls to pp_return and pp_leavesub. (See
767eda44’s commit message for details.) In one spot in pp_return,
the SvGETMAGIC call was added to the wrong branch of an if/else con-
dition, causing a regression. Explicitly returning from a recursive
subroutine call in autovivifying context would not call get-magic on
the returned value.
|
|
|
|
|
|
|
|
| |
Dereferencing ops (${}, etc.) were calling get-magic on their operand
twice if it was a symbolic reference, except for &{}.
This commit fixes that, adding tests for all the deref ops, including
&{}, for good measure.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
0.39_01 - Thu Jul 21 16:48:48 EDT 2011
[BUG FIXES]
- Fixed bug with a nested directory named 'share' inside a ShareDir
(RT#68585) [David Golden]
- Fixed failing tilde.t when run under UID without passwd entry
(RT#67893) [Dominic Hargreaves]
[DOCUMENTATION]
- Fixed typo in Module::Build (RT#67008) [David Golden]
[OTHER]
- Pod to HTML internals changed to support new Pod::Html work
in the Perl core
|
|
|
|
|
| |
This is already listed, but without the ‘after '_'’ bit, so splain
couldn’t find it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
2011-07-20 Russ Allbery <rra@stanford.edu>
* ANSIColor.pm: Version 3.01 released.
* Makefile.PL: Change the DISTNAME to Term-ANSIColor.
* ANSIColor.pm (colored): Only interpret an initial array
reference as a list of colors, not any initial reference, allowing
the colored function to work properly on objects with
stringification defined. Thanks, Revilo Reegiles.
* t/stringify.t: New test for proper behavior with non-array
references in colored.
2011-03-13 Russ Allbery <rra@stanford.edu>
* ANSIColor.pm: Fix two syntax errors in the SYNOPSIS. Thanks,
Jan Hartung.
2010-10-08 Russ Allbery <rra@stanford.edu>
* ANSIColor.pm: Warn in the documentation that attributes are not
supported in and will not work with Perl formats.
2010-04-11 Russ Allbery <rra@stanford.edu>
* ANSIColor.pm: Update the URL for ECMA-048 in the documentation.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
As of commit f4df43b5, lock is parsed the same way as tied. Before
that, the prototype was effectively \[$@%&*], but only because
it was buggy (an lvalue sub itself would be passed to the function,
instead of its return value). Yet its prototype was set to \$, which
was just wrong.
This fixes part of #94980.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
With this commit, locking an lvalue subroutine no longer tries to lock
the subroutine itself (triggering an assertion in pp_lock). Instead,
the &foo syntax is treated as a scalar lvalue expression, as with tie,
so the return value gets locked. Non-lvalue sub calls still produce a
‘Can't modify’ error, as they are not modifiable.
This also stops lock from trying to return a sub as though it were a
scalar, thereby breaking this JAPH I’ve just written:-)
sub _:lvalue{$x}for(lock&_){$_
="Just another Perl hacker,\n"}
print+prototype"_"
|
|
|
|
|
|
| |
With this new parameter, the current directory is not included in the
installed module search. This avoids finding modules from other perls
which happen to be below the current directory.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit makes prototype("CORE::$_") return undef for these
infix ops, instead of the prototype (or error) shown here:
and ()
cmp Error: Cannot find an op number for cmp
eq ($$)
ge ($$)
gt ($$)
le ($$)
lt ($$)
ne ($$)
or ()
x Error: Cannot find an op number for x
xor ($$)
Those prototypes are not actually correct, and dying for what are real
Perl keywords is just mean.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On Windows Vista, 7 and 2008, the win32 API call
GetEnvironmentVariableA() does not return environment values
with string length of greater than 32766, even though
such variables are supported in the environment.
This consequently caused @INC not to be populated for
such values of PERL5LIB on those OSes, as reported in
RT #87322.
This commit reworks the code so that GetEnvironmentStrings()
is called if GetEnvironmentVariableA() indicates the requested
value is set in the environmtn. The old fallback of consulting
the registry for variables beginning with "PERL" is retained, but
as a last-ditch fallback rather than the only recourse.
A new test file, t/win32/runenv.t has been added to validate
that the new behavior is working properly, as well as that
general environment variable handling is in accordance with
expectations, since t/run/runenv.t does not run on Win* platforms.
The new test file is essentially a non-forking clone of
t/run/runenv.t, with modifications to test cases to run properly
on Win* platforms, and with a new test case to test the new behavior.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
0.013 2011-07-17 23:14:22 America/New_York
[NEW FEATURES]
- $ENV{http_proxy} support added [Claes Jakobsson]
[OTHER]
- Internal/private errors converted from "croak" to "die" as internal
errors are caught by "eval"
|
|
|
|
|
|
|
|
| |
One nit is that the only difference between [\h\v] and \s is VT; it's
not just one difference.
Another nit is that the synonyms in the table may be to either
the ASCII or full-range depending on various things.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
2011-07-16 David E. Wheeler <david@justatheory.org>
* Release 3.18
Pod::Simple now properly parses Pod files using Mac OS Classic line-
endings (\r). Marc Green/Google Summer of Code.
Fixed test failure in 't/search50.t when the test finds a .pod but
the module is in a .pm. Thanks to the cpan-testers who reported
this when the test searched for Capture::Tiny.
|
| |
|