Skip to content
perl mirror
Perl C Shell Prolog C++ Objective-C
Find file
Pull request Compare This branch is 16777 commits ahead of schacon:blead.
Latest commit b71c54b @iabyn iabyn [MERGE] eliminate PL_reginput
The variable PL_reginput (which is actually part of the
global/per-interpreter variable PL_reg_state), is mainly used just
locally within the S_regmatch() function. In this role, it effectively
competes with the local-to-regmatch() variable locinput, as a pointer
that tracks the current match position.

Having two variables that do this is less efficient,and makes the code
harder to understand. So this series of commits:

1) removes PL_reginput, and replaces it with a var, reginput, local to
   regmatch();
2) successively removes more and uses of the reginput variable, until
3) it is eliminated altogether, leaving locinput as the sole 'here we are'
   pointer.

Looking at the CPU usage of running the t/re/*.t tests on a -O2,
non-threaded build, running each test suite 3 times, gives:

before: 55.35 55.66 55.69
after:  55.10 55.13 55.33

which indicates a small performance improvement of around 0.5%.

(The CPU usage of a single run of the whole perl test suite dropped from
783.31s to 777.23s).
Failed to load latest commit information.
Cross Remove the VM/ESA port.
NetWare
Porting Text::Abbrev has been synchronised to CPAN
beos Fix typos (spelling errors) in beos/*.
cpan Update Archive-Tar to CPAN version 1.90
cygwin Fix Cygwin build warnings
dist Updated Search::Dict to 1.07 as on CPAN
djgpp Kill Devel::DProf
epoc Add Configure probe for ip_mreq_source
ext ext/B/B.xs: Remove EBCDIC dependency
h2pl
haiku
hints
lib
mad Remove references to Mac OS classic from comments the opcode descript…
mpeix Omnibus removal of register declarations
os2
plan9
pod
qnx
regen
symbian
t Refactor t/op/push.t to use test.pl instead of making TAP by hand.
utils Correct obvious typos in acknowledgements list
vms
vos Build perl using the dynamic linking capabilities of OpenVOS Release …
win32
x2p
.gitignore
AUTHORS
Artistic
Changes
Configure
Copying
EXTERN.h
INSTALL Bump version to 5.17.4
INTERN.h
MANIFEST Rename regen'd hdr to reflect expanded capabilities
META.yml Stop CPAN from indexing mad/
Makefile.SH
Makefile.micro For microperl, prefix generateuudmap and the 3 generated headers with u.
Policy_sh.SH Make everything exec-bit.txt lists executable
README
README.aix Add AIX7 APAR requirement to get Time::Piece tests to pass.
README.amiga Pod cleanup for F<> and L<>
README.beos perlbeos: change some C<>'s into F<>'s
README.bs2000 Remove the VM/ESA port.
README.ce
README.cn
README.cygwin
README.dgux
README.dos
README.epoc README.foo: Change NAME to perlfoo
README.freebsd
README.haiku Bump version to 5.17.4
README.hpux
README.hurd README.foo: Change NAME to perlfoo
README.irix README.foo: Change NAME to perlfoo
README.jp [perl #82526] Fix kldp links.
README.ko Fix some broken URLs found by Porting/checkURL.pl
README.linux README.foo: Change NAME to perlfoo
README.macos README.foo: Change NAME to perlfoo
README.macosx README.foo: Change NAME to perlfoo
README.micro
README.mpeix
README.netware multifile patch against blead/pod/*.pod
README.openbsd
README.os2
README.os390
README.os400 README.foo: Change NAME to perlfoo
README.plan9 [PATCH] Doc spellcheck + podcheck
README.qnx
README.riscos README.foo: Change NAME to perlfoo
README.solaris README.foo: Change NAME to perlfoo
README.symbian README.foo: Change NAME to perlfoo
README.tru64 [RT #36079] Convert ` to '.
README.tw Update irc and tw mongers links.
README.vms
README.vos README.foo: Change NAME to perlfoo
README.win32
TestInit.pm Two small tidying refactors for TestInit.pm
XSUB.h Omnibus removal of register declarations
autodoc.pl
av.c Stop padlists from being AVs
av.h
cflags.SH In cflags.SH trim the case statement of file basenames.
charclass_invlists.h
config_h.SH Fix alignment for darwin with -Dusemorebits.
configpm
configure.com Add Configure probe for ip_mreq_source
configure.gnu
cop.h
cv.h Unify CvDEPTH for formats and subs
deb.c Omnibus removal of register declarations
doio.c Omnibus removal of register declarations
doop.c Omnibus removal of register declarations
dosish.h
dquote_static.c
dump.c
embed.fnc
embed.h eliminate PL_reginput
embedvar.h Use macro not swash for utf8 quotemeta
fakesdio.h update the editor hints for spaces, not tabs
fakethr.h
feature.h
form.h better document format code
generate_uudmap.c Create a lookup table for magic vtables from magic type, PL_magic_data.
genpacksizetables.pl Global executable bit cleanup
globals.c
globvar.sym
gv.c PL_sawampersand: use 3 bit flags rather than bool
gv.h
handy.h We don't support MS VC++ < 6.0
hv.c Omnibus removal of register declarations
hv.h
inline.h Unify CvDEPTH for formats and subs
inline_invlist.c Add caching to inversion list searches
install_lib.pl RT 74444 - install_lib.pl emits warnings when installperl is run with…
installhtml
installman Some tidying in installman.
installperl
intrpvar.h
iperlsys.h update the editor hints for spaces, not tabs
keywords.c Implement the fc keyword and the \F string escape.
keywords.h Implement the fc keyword and the \F string escape.
l1_char_class_tab.h
locale.c
madly.c
make_ext.pl [perl #113940] Make make_ext delete Makefiles when version changes
make_patchnum.pl
makedef.pl
makedepend.SH Make everything exec-bit.txt lists executable
malloc.c Out of memory message should not allocate memory.
malloc_ctl.h Fix calling conventions in malloc_ctl.h
mathoms.c
metaconfig.SH 1; is not a valid no-op for /bin/sh, but true is.
metaconfig.h Add Configure probe for ip_mreq_source
mg.c
mg.h update the editor hints for spaces, not tabs
mg_names.c
mg_raw.h Flatten vstrings modified in place
mg_vtable.h Flatten vstrings modified in place
minimod.pl Fix ExtUtils::Miniperl on Win32
miniperlmain.c
mkppport Update podlators to CPAN version 2.4.0
mkppport.lst Update List-Util to CPAN version 1.25
mro.c Omnibus removal of register declarations
myconfig.SH
mydtrace.h "loading-file" and "loaded-file" DTrace probes
nostdio.h update the editor hints for spaces, not tabs
numeric.c add comment about the atof change [perl #109318]
op.c
op.h
op_reg_common.h regcomp.c: Simply some node calculations
opcode.h Remove boolkeys op
opnames.h Remove boolkeys op
overload.c Change close_and_rename() to read_only_bottom_close_and_rename()
overload.h
pad.c
pad.h pad.h: Rename PadnameSTATE; make it a proper boolean
parser.h Finish fixing here-docs in re-evals
patchlevel.h
perl.c PL_sawampersand: use 3 bit flags rather than bool
perl.h
perlapi.c Simplify embedvar.h, removing a level of macro indirection for PL_* v…
perlapi.h add wrap_op_checker() API function
perldtrace.d "loading-file" and "loaded-file" DTrace probes
perlio.c
perlio.h update the editor hints for spaces, not tabs
perlio.sym Adjustment to symbol lists after latest changes (by Jarkko)
perliol.h update the editor hints for spaces, not tabs
perlsdio.h update the editor hints for spaces, not tabs
perlsfio.h
perlsh
perlvars.h add wrap_op_checker() API function
perly.act Don’t let format arguments ‘leak out’ of formline
perly.c Omnibus removal of register declarations
perly.h Don’t let format arguments ‘leak out’ of formline
perly.tab
perly.y
pp.c Use macro not swash for utf8 quotemeta
pp.h
pp_ctl.c Fix buggy -DPERL_POISON code in S_rxres_free(), exposed by a recent t…
pp_hot.c m// and s///; don't copy TEMP/AMAGIC strings
pp_pack.c
pp_proto.h
pp_sort.c Use PADLIST in more places
pp_sys.c Remove the VM/ESA port.
proto.h
reentr.c
reentr.h Move all the generated file header printing into read_only_top()
regcharclass.h utf8.h: Remove some EBCDIC dependencies
regcomp.c Rename regen'd hdr to reflect expanded capabilities
regcomp.h regcomp.h: Use handy.h constants
regcomp.sym regcomp.sym: Add new node types POSIXA and NPOSIXA
regen.pl Create regen/feature.pl
regen_perly.pl Prevent double frees/crashes with format syntax errs
regexec.c
regexp.h eliminate PL_reginput
regnodes.h
run.c "op-entry" DTrace probe
runtests.SH
scope.c Omnibus removal of register declarations
scope.h Prevent double frees/crashes with format syntax errs
sv.c eliminate PL_reginput
sv.h
taint.c update the editor hints for spaces, not tabs
thread.h
time64.c Fix typos (spelling errors) in Perl sources.
time64.h Make time64 use NV for time_t, I32 for year, not Quad_t.
time64_config.h Make time64 use NV for time_t, I32 for year, not Quad_t.
toke.c Fix listop-hash-infix parsing
uconfig.h
uconfig.sh Add Configure probe for ip_mreq_source
uconfig64.sh
unicode_constants.h
universal.c Remove some redundant magical flag checks
unixish.h
utf8.c
utf8.h utf8.h: Use machine generated IS_UTF8_CHAR()
utfebcdic.h Remove some EBCDIC dependencies
util.c Remove the VM/ESA port.
util.h
utils.lst Add x2p/a2p.pod to the 'master' array returned by get_pod_metadata().
warnings.h
write_buildcustomize.pl Add Term::ReadLine to write_buildcustomize.pl.

README

Perl is Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
by Larry Wall and others.  All rights reserved.



ABOUT PERL
==========

Perl is a general-purpose programming language originally developed for
text manipulation and now used for a wide range of tasks including
system administration, web development, network programming, GUI
development, and more.

The language is intended to be practical (easy to use, efficient,
complete) rather than beautiful (tiny, elegant, minimal).  Its major
features are that it's easy to use, supports both procedural and
object-oriented (OO) programming, has powerful built-in support for text
processing, and has one of the world's most impressive collections of
third-party modules.

For an introduction to the language's features, see pod/perlintro.pod.

For a discussion of the important changes in this release, see
pod/perldelta.pod.

There are also many Perl books available, covering a wide variety of topics,
from various publishers.  See pod/perlbook.pod for more information.


INSTALLATION
============

If you're using a relatively modern operating system and want to
install this version of Perl locally, run the following commands:

  ./Configure -des -Dprefix=$HOME/localperl
  make test
  make install

This will configure and compile perl for your platform, run the regression
tests, and install perl in a subdirectory "localperl" of your home directory.

If you run into any trouble whatsoever or you need to install a customized
version of Perl, you should read the detailed instructions in the "INSTALL"
file that came with this distribution.  Additionally, there are a number of
"README" files with hints and tips about building and using Perl on a wide
variety of platforms, some more common than others.

Once you have Perl installed, a wealth of documentation is available to you
through the 'perldoc' tool.  To get started, run this command:

  perldoc perl


IF YOU RUN INTO TROUBLE
=======================

Perl is a large and complex system that's used for everything from
knitting to rocket science.  If you run into trouble, it's quite
likely that someone else has already solved the problem you're
facing. Once you've exhausted the documentation, please report bugs to us
using the 'perlbug' tool. For more information about perlbug, either type
'perldoc perlbug' or just 'perlbug' on a line by itself.

While it was current when we made it available, Perl is constantly evolving
and there may be a more recent version that fixes bugs you've run into or
adds new features that you might find useful.

You can always find the latest version of perl on a CPAN (Comprehensive Perl
Archive Network) site near you at http://www.cpan.org/src/


Just a personal note:  I want you to know that I create nice things like this
because it pleases the Author of my story.  If this bothers you, then your
notion of Authorship needs some revision.  But you can use perl anyway. :-)

							The author.


LICENSING
=========

This program is free software; you can redistribute it and/or modify
it under the terms of either:

	a) the GNU General Public License as published by the Free
	Software Foundation; either version 1, or (at your option) any
	later version, or

	b) the "Artistic License" which comes with this Kit.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See either
the GNU General Public License or the Artistic License for more details.

You should have received a copy of the Artistic License with this
Kit, in the file named "Artistic".  If not, I'll be glad to provide one.

You should also have received a copy of the GNU General Public License
along with this program in the file named "Copying". If not, write to the
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA or visit their web page on the internet at
http://www.gnu.org/copyleft/gpl.html.

For those of you that choose to use the GNU General Public License,
my interpretation of the GNU General Public License is that no Perl
script falls under the terms of the GPL unless you explicitly put
said script under the terms of the GPL yourself.  Furthermore, any
object code linked with perl does not automatically fall under the
terms of the GPL, provided such object code only adds definitions
of subroutines and variables, and does not otherwise impair the
resulting interpreter from executing any standard Perl script.  I
consider linking in C subroutines in this manner to be the moral
equivalent of defining subroutines in the Perl language itself.  You
may sell such an object file as proprietary provided that you provide
or offer to provide the Perl source, as specified by the GNU General
Public License.  (This is merely an alternate way of specifying input
to the program.)  You may also sell a binary produced by the dumping of
a running Perl script that belongs to you, provided that you provide or
offer to provide the Perl source as specified by the GPL.  (The
fact that a Perl interpreter and your code are in the same binary file
is, in this case, a form of mere aggregation.)  This is my interpretation
of the GPL.  If you still have concerns or difficulties understanding
my intent, feel free to contact me.  Of course, the Artistic License
spells all this out for your protection, so you may prefer to use that.


Something went wrong with that request. Please try again.