develooper Front page | perl.perl5.changes | Postings from April 2008

Change 33722: Integrate:

From:
Nicholas Clark
Date:
April 22, 2008 07:45
Subject:
Change 33722: Integrate:
Change 33722 by nicholas@mouse-mill on 2008/04/22 14:32:01

	Integrate:
	[ 33656]
	Eliminate cop_label from struct cop by storing a label as the first
	entry in the hints hash. Most statements don't have labels, so this
	will save memory. Not sure how much.
	
	[just the Deparse change]
	
	[ 33661]
	Remove old option leftover in docs

Affected files ...

... //depot/maint-5.10/perl/ext/B/B/Deparse.pm#4 integrate

Differences ...

==== //depot/maint-5.10/perl/ext/B/B/Deparse.pm#4 (text) ====
Index: perl/ext/B/B/Deparse.pm
--- perl/ext/B/B/Deparse.pm#3~33151~	2008-01-31 04:07:14.000000000 -0800
+++ perl/ext/B/B/Deparse.pm	2008-04-22 07:32:01.000000000 -0700
@@ -21,7 +21,7 @@
 	 PMf_KEEP PMf_GLOBAL PMf_CONTINUE PMf_EVAL PMf_ONCE
 	 PMf_MULTILINE PMf_SINGLELINE PMf_FOLD PMf_EXTENDED),
 	 ($] < 5.009 ? 'PMf_SKIPWHITE' : 'RXf_SKIPWHITE');
-$VERSION = 0.85;
+$VERSION = 0.87;
 use strict;
 use vars qw/$AUTOLOAD/;
 use warnings ();
@@ -1456,6 +1456,7 @@
 my %ignored_hints = (
     'open<' => 1,
     'open>' => 1,
+    ':'     => 1,
     'v_string' => 1,
     );
 
@@ -4596,9 +4597,7 @@
 Create an object to store the state of a deparsing operation and any
 options. The options are the same as those that can be given on the
 command line (see L</OPTIONS>); options that are separated by commas
-after B<-MO=Deparse> should be given as separate strings. Some
-options, like B<-u>, don't make sense for a single subroutine, so
-don't pass them.
+after B<-MO=Deparse> should be given as separate strings.
 
 =head2 ambient_pragmas
 
End of Patch.



Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About