summaryrefslogtreecommitdiff
path: root/x2p
diff options
context:
space:
mode:
authorAbhijit Menon-Sen <ams@wiw.org>2007-07-25 19:02:44 +0000
committerAbhijit Menon-Sen <ams@wiw.org>2007-07-25 19:02:44 +0000
commitb588327ed1e1ecf1e38d4a4782599a7ac98346c7 (patch)
treee0ca34db0357f4d9c3bdfa608cda85009d73f4ab /x2p
parente2f7306727f6521febe2479c66526982cbb5e4f5 (diff)
downloadperl-b588327ed1e1ecf1e38d4a4782599a7ac98346c7.tar.gz
Change stripRegex prototype to $$;$ because only one caller uses
the third argument. p4raw-id: //depot/perl@31657
Diffstat (limited to 'x2p')
-rw-r--r--x2p/s2p.PL2
1 files changed, 1 insertions, 1 deletions
diff --git a/x2p/s2p.PL b/x2p/s2p.PL
index 0ac27f9d70..d1ce6ea45e 100644
--- a/x2p/s2p.PL
+++ b/x2p/s2p.PL
@@ -747,7 +747,7 @@ sub Comment($$$$$$){
# part of s///, trailing spaces have to be kept as the initial
# part of the replacement string.
#
-sub stripRegex($$$){
+sub stripRegex($$;$){
my( $del, $sref, $sub ) = @_;
my $regex = $del;
print "stripRegex:$del:$$sref:\n" if $useDEBUG;