+3.15 - 2009-01-18
+
+ * added support for the following API
+ DEFSV_set
+ * fix --unstrip for development versions
+
3.14_05 - 2008-10-31
* fix stupid bugs in pv_pretty tests (only the
=head1 COPYRIGHT
-Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
Version 2.x, Copyright (C) 2001, Paul Marquess.
#
################################################################################
#
-# $Revision: 28 $
+# $Revision: 29 $
# $Author: mhx $
-# $Date: 2008/01/04 10:47:38 +0100 $
+# $Date: 2009/01/18 14:10:49 +0100 $
#
################################################################################
#
-# Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+# Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
# Version 2.x, Copyright (C) 2001, Paul Marquess.
# Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
#
#
################################################################################
#
-# $Revision: 63 $
+# $Revision: 64 $
# $Author: mhx $
-# $Date: 2008/10/30 01:47:31 +0100 $
+# $Date: 2009/01/18 14:10:49 +0100 $
#
################################################################################
#
-# Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+# Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
# Version 2.x, Copyright (C) 2001, Paul Marquess.
# Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
#
#
################################################################################
#
-# $Revision: 63 $
+# $Revision: 64 $
# $Author: mhx $
-# $Date: 2008/10/30 01:47:31 +0100 $
+# $Date: 2009/01/18 14:10:49 +0100 $
#
################################################################################
#
-# Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+# Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
# Version 2.x, Copyright (C) 2001, Paul Marquess.
# Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
#
=head1 COPYRIGHT
-Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
Version 2.x, Copyright (C) 2001, Paul Marquess.
use strict;
use vars qw($VERSION $data);
-$VERSION = do { my @r = '$Snapshot: /Devel-PPPort/3.14_05 $' =~ /(\d+\.\d+(?:_\d+)?)/; @r ? $r[0] : '9.99' };
+$VERSION = do { my @r = '$Snapshot: /Devel-PPPort/3.15 $' =~ /(\d+\.\d+(?:_\d+)?)/; @r ? $r[0] : '9.99' };
sub _init_data
{
#
################################################################################
#
-# $Revision: 14 $
+# $Revision: 15 $
# $Author: mhx $
-# $Date: 2008/01/04 10:47:37 +0100 $
+# $Date: 2009/01/18 14:10:48 +0100 $
#
################################################################################
#
-# Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+# Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
# Version 2.x, Copyright (C) 2001, Paul Marquess.
# Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
#
*
********************************************************************************
*
-* $Revision: 14 $
+* $Revision: 15 $
* $Author: mhx $
-* $Date: 2008/01/04 10:47:37 +0100 $
+* $Date: 2009/01/18 14:10:48 +0100 $
*
********************************************************************************
*
-* Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+* Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
* Version 2.x, Copyright (C) 2001, Paul Marquess.
* Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
*
5. COPYRIGHT
------------
-Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
Version 2.x, Copyright (C) 2001, Paul Marquess.
Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
#
################################################################################
#
-# $Revision: 10 $
+# $Revision: 11 $
# $Author: mhx $
-# $Date: 2008/01/04 10:47:37 +0100 $
+# $Date: 2009/01/18 14:10:49 +0100 $
#
################################################################################
#
-# Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+# Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
# Version 2.x, Copyright (C) 2001, Paul Marquess.
# Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
#
#
################################################################################
#
-# $Revision: 14 $
+# $Revision: 15 $
# $Author: mhx $
-# $Date: 2008/04/13 13:49:37 +0200 $
+# $Date: 2009/01/18 14:10:50 +0100 $
#
################################################################################
#
-# Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+# Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
# Version 2.x, Copyright (C) 2001, Paul Marquess.
# Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
#
=head1 COPYRIGHT
-Copyright (c) 2004-2008, Marcus Holland-Moritz.
+Copyright (c) 2004-2009, Marcus Holland-Moritz.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
#
################################################################################
#
-# $Revision: 4 $
+# $Revision: 5 $
# $Author: mhx $
-# $Date: 2008/01/04 10:47:38 +0100 $
+# $Date: 2009/01/18 14:10:50 +0100 $
#
################################################################################
#
-# Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+# Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
# Version 2.x, Copyright (C) 2001, Paul Marquess.
# Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
#
#
################################################################################
#
-# $Revision: 11 $
+# $Revision: 13 $
# $Author: mhx $
-# $Date: 2008/01/04 10:47:39 +0100 $
+# $Date: 2009/01/18 14:10:50 +0100 $
#
################################################################################
#
-# Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+# Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
# Version 2.x, Copyright (C) 2001, Paul Marquess.
# Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
#
cat >$OUTPUT <<EOF
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:
-: !!!!! Do NOT edit this file directly! -- Edit PPPort_pm.PL instead. !!!!!
+: !!!! Do NOT edit this file directly! -- Edit devel/mkapidoc.sh instead. !!!!
:
: This file was automatically generated from the API documentation scattered
: all over the Perl source code. To learn more about how all this works,
#
################################################################################
#
-# $Revision: 15 $
+# $Revision: 16 $
# $Author: mhx $
-# $Date: 2008/01/04 10:47:39 +0100 $
+# $Date: 2009/01/18 14:10:50 +0100 $
#
################################################################################
#
-# Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+# Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
# Version 2.x, Copyright (C) 2001, Paul Marquess.
# Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
#
#
################################################################################
#
-# $Revision: 15 $
+# $Revision: 16 $
# $Author: mhx $
-# $Date: 2008/01/04 10:47:39 +0100 $
+# $Date: 2009/01/18 14:10:51 +0100 $
#
################################################################################
#
-# Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+# Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
# Version 2.x, Copyright (C) 2001, Paul Marquess.
# Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
#
#
################################################################################
#
-# $Revision: 7 $
+# $Revision: 8 $
# $Author: mhx $
-# $Date: 2008/01/04 10:47:39 +0100 $
+# $Date: 2009/01/18 14:10:50 +0100 $
#
################################################################################
#
-# Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+# Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
# Version 2.x, Copyright (C) 2001, Paul Marquess.
# Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
#
=head1 COPYRIGHT
-Copyright (c) 2006-2008, Marcus Holland-Moritz.
+Copyright (c) 2006-2009, Marcus Holland-Moritz.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
#
################################################################################
#
-# $Revision: 8 $
+# $Revision: 9 $
# $Author: mhx $
-# $Date: 2008/01/04 10:47:39 +0100 $
+# $Date: 2009/01/18 14:10:50 +0100 $
#
################################################################################
#
-# Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+# Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
# Version 2.x, Copyright (C) 2001, Paul Marquess.
# Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
#
#
################################################################################
#
-# $Revision: 29 $
+# $Revision: 30 $
# $Author: mhx $
-# $Date: 2008/01/04 10:47:37 +0100 $
+# $Date: 2009/01/18 14:10:49 +0100 $
#
################################################################################
#
-# Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+# Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
# Version 2.x, Copyright (C) 2001, Paul Marquess.
# Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
#
*
********************************************************************************
*
-* $Revision: 11 $
+* $Revision: 12 $
* $Author: mhx $
-* $Date: 2008/10/12 20:53:51 +0200 $
+* $Date: 2009/01/18 14:10:49 +0100 $
*
********************************************************************************
*
-* Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+* Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
* Version 2.x, Copyright (C) 2001, Paul Marquess.
* Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
*
*
********************************************************************************
*
-* $Revision: 11 $
+* $Revision: 12 $
* $Author: mhx $
-* $Date: 2008/10/12 20:53:51 +0200 $
+* $Date: 2009/01/18 14:10:49 +0100 $
*
********************************************************************************
*
-* Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+* Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
* Version 2.x, Copyright (C) 2001, Paul Marquess.
* Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
*
#
################################################################################
#
-# $Revision: 33 $
+# $Revision: 34 $
# $Author: mhx $
-# $Date: 2008/10/30 01:47:30 +0100 $
+# $Date: 2009/01/18 14:10:51 +0100 $
#
################################################################################
#
-# Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+# Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
# Version 2.x, Copyright (C) 2001, Paul Marquess.
# Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
#
mn|GV*|PL_last_in_gv
mn|SV *|PL_DBsingle
mn|SV *|PL_DBtrace
-mn|GV*|PL_ofsgv
+mn|SV*|PL_ofs_sv
mn|SV*|PL_rs
ms||djSP
m|STRLEN|PAD_COMPNAME_GEN|PADOFFSET po
################################################################################
##
-## $Revision: 15 $
+## $Revision: 16 $
## $Author: mhx $
-## $Date: 2008/01/04 10:47:43 +0100 $
+## $Date: 2009/01/18 14:10:55 +0100 $
##
################################################################################
##
-## Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+## Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
## Version 2.x, Copyright (C) 2001, Paul Marquess.
## Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
##
################################################################################
##
-## $Revision: 21 $
+## $Revision: 22 $
## $Author: mhx $
-## $Date: 2008/10/12 20:51:06 +0200 $
+## $Date: 2009/01/18 14:10:54 +0100 $
##
################################################################################
##
-## Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+## Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
## Version 2.x, Copyright (C) 2001, Paul Marquess.
## Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
##
################################################################################
##
-## $Revision: 4 $
+## $Revision: 5 $
## $Author: mhx $
-## $Date: 2008/01/04 14:54:44 +0100 $
+## $Date: 2009/01/18 14:10:52 +0100 $
##
################################################################################
##
-## Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+## Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
## Version 2.x, Copyright (C) 2001, Paul Marquess.
## Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
##
################################################################################
##
-## $Revision: 6 $
+## $Revision: 7 $
## $Author: mhx $
-## $Date: 2008/01/04 10:47:41 +0100 $
+## $Date: 2009/01/18 14:10:53 +0100 $
##
################################################################################
##
-## Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+## Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
## Version 2.x, Copyright (C) 2001, Paul Marquess.
## Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
##
################################################################################
##
-## $Revision: 17 $
+## $Revision: 18 $
## $Author: mhx $
-## $Date: 2008/01/04 14:54:42 +0100 $
+## $Date: 2009/01/18 14:10:53 +0100 $
##
################################################################################
##
-## Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+## Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
## Version 2.x, Copyright (C) 2001, Paul Marquess.
## Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
##
################################################################################
##
-## $Revision: 7 $
+## $Revision: 8 $
## $Author: mhx $
-## $Date: 2008/01/04 10:47:42 +0100 $
+## $Date: 2009/01/18 14:10:54 +0100 $
##
################################################################################
##
-## Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+## Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
## Version 2.x, Copyright (C) 2001, Paul Marquess.
## Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
##
################################################################################
##
-## $Revision: 6 $
+## $Revision: 7 $
## $Author: mhx $
-## $Date: 2008/01/04 10:47:41 +0100 $
+## $Date: 2009/01/18 14:10:53 +0100 $
##
################################################################################
##
-## Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+## Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
## Version 2.x, Copyright (C) 2001, Paul Marquess.
## Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
##
################################################################################
##
-## $Revision: 8 $
+## $Revision: 9 $
## $Author: mhx $
-## $Date: 2008/04/13 13:51:18 +0200 $
+## $Date: 2009/01/18 14:10:55 +0100 $
##
################################################################################
##
-## Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+## Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
## Version 2.x, Copyright (C) 2001, Paul Marquess.
## Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
##
################################################################################
##
-## $Revision: 15 $
+## $Revision: 16 $
## $Author: mhx $
-## $Date: 2008/01/04 10:47:44 +0100 $
+## $Date: 2009/01/18 14:10:55 +0100 $
##
################################################################################
##
-## Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+## Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
## Version 2.x, Copyright (C) 2001, Paul Marquess.
## Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
##
################################################################################
##
-## $Revision: 6 $
+## $Revision: 7 $
## $Author: mhx $
-## $Date: 2008/01/04 10:47:42 +0100 $
+## $Date: 2009/01/18 14:10:54 +0100 $
##
################################################################################
##
-## Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+## Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
## Version 2.x, Copyright (C) 2001, Paul Marquess.
## Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
##
################################################################################
##
-## $Revision: 10 $
+## $Revision: 11 $
## $Author: mhx $
-## $Date: 2008/01/04 13:11:16 +0100 $
+## $Date: 2009/01/18 14:10:54 +0100 $
##
################################################################################
##
-## Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+## Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
## Version 2.x, Copyright (C) 2001, Paul Marquess.
## Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
##
################################################################################
##
-## $Revision: 16 $
+## $Revision: 17 $
## $Author: mhx $
-## $Date: 2008/01/04 10:47:44 +0100 $
+## $Date: 2009/01/18 14:10:55 +0100 $
##
################################################################################
##
-## Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+## Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
## Version 2.x, Copyright (C) 2001, Paul Marquess.
## Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
##
################################################################################
##
-## $Revision: 4 $
+## $Revision: 5 $
## $Author: mhx $
-## $Date: 2008/01/04 10:47:41 +0100 $
+## $Date: 2009/01/18 14:10:53 +0100 $
##
################################################################################
##
-## Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+## Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
## Version 2.x, Copyright (C) 2001, Paul Marquess.
## Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
##
################################################################################
##
-## $Revision: 48 $
+## $Revision: 50 $
## $Author: mhx $
-## $Date: 2008/10/30 01:46:33 +0100 $
+## $Date: 2009/01/18 14:10:55 +0100 $
##
################################################################################
##
-## Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+## Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
## Version 2.x, Copyright (C) 2001, Paul Marquess.
## Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
##
/* DEFSV appears first in 5.004_56 */
__UNDEFINED__ DEFSV GvSV(PL_defgv)
__UNDEFINED__ SAVE_DEFSV SAVESPTR(GvSV(PL_defgv))
+__UNDEFINED__ DEFSV_set(sv) (GvSV(PL_defgv) = (sv))
/* Older perls (<=5.003) lack AvFILLp */
__UNDEFINED__ AvFILLp AvFILL
OUTPUT:
RETVAL
+void
+DEFSV_modify()
+ PPCODE:
+ XPUSHs(sv_mortalcopy(DEFSV));
+ ENTER;
+ SAVE_DEFSV;
+ DEFSV_set(newSVpvs("DEFSV"));
+ XPUSHs(sv_mortalcopy(DEFSV));
+ sv_2mortal(DEFSV);
+ LEAVE;
+ XPUSHs(sv_mortalcopy(DEFSV));
+ XSRETURN(3);
+
int
ERRSV()
CODE:
LEAVE;
XSRETURN(1);
-=tests plan => 33
+=tests plan => 38
use vars qw($my_sv @my_av %my_hv);
ok(1);
}
+my @r = &Devel::PPPort::DEFSV_modify();
+
+ok(@r == 3);
+ok($r[0], 'Fred');
+ok($r[1], 'DEFSV');
+ok($r[2], 'Fred');
+
+ok(&Devel::PPPort::DEFSV(), "Fred");
+
eval { 1 };
ok(!&Devel::PPPort::ERRSV());
eval { cannot_call_this_one() };
################################################################################
##
-## $Revision: 14 $
+## $Revision: 15 $
## $Author: mhx $
-## $Date: 2008/10/12 19:02:04 +0200 $
+## $Date: 2009/01/18 14:10:55 +0100 $
##
################################################################################
##
-## Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+## Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
## Version 2.x, Copyright (C) 2001, Paul Marquess.
## Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
##
################################################################################
##
-## $Revision: 8 $
+## $Revision: 9 $
## $Author: mhx $
-## $Date: 2008/01/04 10:47:43 +0100 $
+## $Date: 2009/01/18 14:10:55 +0100 $
##
################################################################################
##
-## Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+## Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
## Version 2.x, Copyright (C) 2001, Paul Marquess.
## Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
##
################################################################################
##
-## $Revision: 5 $
+## $Revision: 6 $
## $Author: mhx $
-## $Date: 2008/10/21 23:14:47 +0200 $
+## $Date: 2009/01/18 14:10:51 +0100 $
##
################################################################################
##
-## Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+## Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
## Version 2.x, Copyright (C) 2001, Paul Marquess.
## Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
##
################################################################################
##
-## $Revision: 8 $
+## $Revision: 9 $
## $Author: mhx $
-## $Date: 2008/01/04 10:47:40 +0100 $
+## $Date: 2009/01/18 14:10:52 +0100 $
##
################################################################################
##
-## Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+## Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
## Version 2.x, Copyright (C) 2001, Paul Marquess.
## Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
##
################################################################################
##
-## $Revision: 48 $
+## $Revision: 50 $
## $Author: mhx $
-## $Date: 2008/10/12 19:02:39 +0200 $
+## $Date: 2009/01/18 14:10:54 +0100 $
##
################################################################################
##
-## Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+## Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
## Version 2.x, Copyright (C) 2001, Paul Marquess.
## Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
##
if (\@ARGV && \$ARGV[0] eq '--unstrip') {
eval { require Devel::PPPort };
\$@ and die "Cannot require Devel::PPPort, please install.\\n";
- if (\$Devel::PPPort::VERSION < $VERSION) {
+ if (eval \$Devel::PPPort::VERSION < $VERSION) {
die "$0 was originally generated with Devel::PPPort $VERSION.\\n"
. "Your Devel::PPPort is only version \$Devel::PPPort::VERSION.\\n"
. "Please install a newer version, or --unstrip will not work.\\n";
################################################################################
##
-## $Revision: 31 $
+## $Revision: 32 $
## $Author: mhx $
-## $Date: 2008/01/04 10:47:42 +0100 $
+## $Date: 2009/01/18 14:10:54 +0100 $
##
################################################################################
##
-## Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+## Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
## Version 2.x, Copyright (C) 2001, Paul Marquess.
## Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
##
=head1 COPYRIGHT
-Version 3.x, Copyright (c) 2004-2008, Marcus Holland-Moritz.
+Version 3.x, Copyright (c) 2004-2009, Marcus Holland-Moritz.
Version 2.x, Copyright (C) 2001, Paul Marquess.
################################################################################
##
-## $Revision: 44 $
+## $Revision: 45 $
## $Author: mhx $
-## $Date: 2008/10/12 20:53:51 +0200 $
+## $Date: 2009/01/18 14:10:53 +0100 $
##
################################################################################
##
-## Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+## Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
## Version 2.x, Copyright (C) 2001, Paul Marquess.
## Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
##
################################################################################
##
-## $Revision: 4 $
+## $Revision: 5 $
## $Author: mhx $
-## $Date: 2008/10/31 08:15:55 +0100 $
+## $Date: 2009/01/18 14:10:51 +0100 $
##
################################################################################
##
-## Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+## Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
## Version 2.x, Copyright (C) 2001, Paul Marquess.
## Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
##
################################################################################
##
-## $Revision: 8 $
+## $Revision: 9 $
## $Author: mhx $
-## $Date: 2008/01/04 12:02:59 +0100 $
+## $Date: 2009/01/18 14:10:52 +0100 $
##
################################################################################
##
-## Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+## Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
## Version 2.x, Copyright (C) 2001, Paul Marquess.
## Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
##
################################################################################
##
-## $Revision: 4 $
+## $Revision: 5 $
## $Author: mhx $
-## $Date: 2008/01/04 10:47:40 +0100 $
+## $Date: 2009/01/18 14:10:52 +0100 $
##
################################################################################
##
-## Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+## Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
## Version 2.x, Copyright (C) 2001, Paul Marquess.
## Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
##
################################################################################
##
-## $Revision: 5 $
+## $Revision: 6 $
## $Author: mhx $
-## $Date: 2008/08/01 23:26:01 +0200 $
+## $Date: 2009/01/18 14:10:52 +0100 $
##
################################################################################
##
-## Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+## Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
## Version 2.x, Copyright (C) 2001, Paul Marquess.
## Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
##
################################################################################
##
-## $Revision: 1 $
+## $Revision: 2 $
## $Author: mhx $
-## $Date: 2008/07/13 19:13:58 +0200 $
+## $Date: 2009/01/18 14:10:51 +0100 $
##
################################################################################
##
-## Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+## Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
## Version 2.x, Copyright (C) 2001, Paul Marquess.
## Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
##
################################################################################
##
-## $Revision: 5 $
+## $Revision: 6 $
## $Author: mhx $
-## $Date: 2008/01/04 14:54:44 +0100 $
+## $Date: 2009/01/18 14:10:52 +0100 $
##
################################################################################
##
-## Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+## Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
## Version 2.x, Copyright (C) 2001, Paul Marquess.
## Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
##
################################################################################
##
-## $Revision: 9 $
+## $Revision: 10 $
## $Author: mhx $
-## $Date: 2008/01/04 10:47:41 +0100 $
+## $Date: 2009/01/18 14:10:53 +0100 $
##
################################################################################
##
-## Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+## Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
## Version 2.x, Copyright (C) 2001, Paul Marquess.
## Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
##
################################################################################
##
-## $Revision: 10 $
+## $Revision: 11 $
## $Author: mhx $
-## $Date: 2008/01/04 10:47:42 +0100 $
+## $Date: 2009/01/18 14:10:53 +0100 $
##
################################################################################
##
-## Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+## Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
## Version 2.x, Copyright (C) 2001, Paul Marquess.
## Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
##
################################################################################
##
-## $Revision: 16 $
+## $Revision: 17 $
## $Author: mhx $
-## $Date: 2008/01/04 10:47:42 +0100 $
+## $Date: 2009/01/18 14:10:54 +0100 $
##
################################################################################
##
-## Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+## Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
## Version 2.x, Copyright (C) 2001, Paul Marquess.
## Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
##
################################################################################
##
-## $Revision: 18 $
+## $Revision: 19 $
## $Author: mhx $
-## $Date: 2008/10/21 23:15:31 +0200 $
+## $Date: 2009/01/18 14:10:53 +0100 $
##
################################################################################
##
-## Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+## Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
## Version 2.x, Copyright (C) 2001, Paul Marquess.
## Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
##
################################################################################
##
-## $Revision: 9 $
+## $Revision: 10 $
## $Author: mhx $
-## $Date: 2008/01/04 10:47:43 +0100 $
+## $Date: 2009/01/18 14:10:54 +0100 $
##
################################################################################
##
-## Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+## Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
## Version 2.x, Copyright (C) 2001, Paul Marquess.
## Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
##
################################################################################
##
-## $Revision: 6 $
+## $Revision: 7 $
## $Author: mhx $
-## $Date: 2008/01/04 10:47:41 +0100 $
+## $Date: 2009/01/18 14:10:52 +0100 $
##
################################################################################
##
-## Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+## Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
## Version 2.x, Copyright (C) 2001, Paul Marquess.
## Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
##
:
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:
-: $Revision: 2 $
+: $Revision: 3 $
: $Author: mhx $
-: $Date: 2008/01/04 10:47:39 +0100 $
+: $Date: 2009/01/18 14:10:51 +0100 $
:
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:
-: Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+: Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
: Version 2.x, Copyright (C) 2001, Paul Marquess.
: Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
:
#
################################################################################
#
-# $Revision: 26 $
+# $Revision: 27 $
# $Author: mhx $
-# $Date: 2008/10/12 19:03:01 +0200 $
+# $Date: 2009/01/18 14:10:51 +0100 $
#
################################################################################
#
-# Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+# Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
# Version 2.x, Copyright (C) 2001, Paul Marquess.
# Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
#
#
################################################################################
#
-# $Revision: 18 $
+# $Revision: 19 $
# $Author: mhx $
-# $Date: 2008/01/04 10:47:38 +0100 $
+# $Date: 2009/01/18 14:10:50 +0100 $
#
################################################################################
#
-# Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+# Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
# Version 2.x, Copyright (C) 2001, Paul Marquess.
# Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
#
use List::Util qw(max);
use Config;
-my $VERSION = do { my @r = '$Snapshot: /Devel-PPPort/3.14_05 $' =~ /(\d+\.\d+(?:_\d+)?)/; @r ? $r[0] : '9.99' };
+my $VERSION = do { my @r = '$Snapshot: /Devel-PPPort/3.15 $' =~ /(\d+\.\d+(?:_\d+)?)/; @r ? $r[0] : '9.99' };
$| = 1;
my %OPT = (
=head1 COPYRIGHT
-Version 3.x, Copyright (c) 2004-2008, Marcus Holland-Moritz.
+Version 3.x, Copyright (c) 2004-2009, Marcus Holland-Moritz.
Version 2.x, Copyright (C) 2001, Paul Marquess.
require 'testutil.pl' if $@;
}
- if (33) {
+ if (38) {
load();
- plan(tests => 33);
+ plan(tests => 38);
}
}
ok(1);
}
+my @r = &Devel::PPPort::DEFSV_modify();
+
+ok(@r == 3);
+ok($r[0], 'Fred');
+ok($r[1], 'DEFSV');
+ok($r[2], 'Fred');
+
+ok(&Devel::PPPort::DEFSV(), "Fred");
+
eval { 1 };
ok(!&Devel::PPPort::ERRSV());
eval { cannot_call_this_one() };
#
################################################################################
#
-# $Revision: 7 $
+# $Revision: 8 $
# $Author: mhx $
-# $Date: 2008/01/04 10:47:37 +0100 $
+# $Date: 2009/01/18 14:10:48 +0100 $
#
################################################################################
#
-# Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
+# Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz.
# Version 2.x, Copyright (C) 2001, Paul Marquess.
# Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
#