Skip Menu |
 

This queue is for tickets about the Hash-Merge CPAN distribution.

Report information
The Basics
Id: 39183
Status: resolved
Priority: 0/
Queue: Hash-Merge

People
Owner: Nobody in particular
Requestors: blackbird [...] webbird.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.10
Fixed in: (no value)



Subject: Use Clone::PP as a fallback
MIME-Version: 1.0
X-Mailer: MIME-tools 5.426 (Entity 5.426)
Content-Type: text/plain
Charset: utf8
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 407
Download (untitled) / with headers
text/plain 407b
It would be nice to offer an optional fallback to Clone::PP in case someone wants to use Hash::Merge, but can't install Clone. (On a web server, for example.) To do this, just change sub _my_clone to: if( $clone_behavior ) { ## patch eval "require Clone;"; if ( $@ ) { eval "require Clone::PP"; } } While Clone::PP is slower than (XS) Clone, it still works. :)
X-Ymail-Osg: 1DySoYsVM1nJHvEEdsE6qrEXC4FbeMV6QYeZRs51_eBbY9L1hCZzwsT6wbU1P8O.4HJzm7rMY8BMR4CJTTMXkMCFMIThik66jc2vJMaDyTZ4rIkCsxAxFz9cm7dZVYQ-
MIME-Version: 1.0 (Apple Message framework v926)
X-Spam-Status: No, hits=-2.6 required=8.0 tests=BAYES_00
In-Reply-To: <rt-3.6.HEAD-27892-1221141547-22.39183-4-0 [...] rt.cpan.org>
X-Mailer: Apple Mail (2.926)
References: <RT-Ticket-39183 [...] rt.cpan.org> <rt-3.6.HEAD-27892-1221141547-22.39183-4-0 [...] rt.cpan.org>
X-Yahoo-Newman-Property: ymail-3
Content-Type: text/plain; charset="utf-8"; format="flowed"
X-RT-Original-Encoding: utf-8
Received: from x1.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id D42894D8005 for <bug-Hash-Merge [...] rt.cpan.org>; Thu, 11 Sep 2008 13:21:12 -0400 (EDT)
Received: (qmail 11531 invoked from network); 11 Sep 2008 17:21:11 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 11 Sep 2008 17:21:11 -0000
Received: from smtp106.sbc.mail.mud.yahoo.com (HELO smtp106.sbc.mail.mud.yahoo.com) (68.142.198.205) by 16.mx.develooper.com (qpsmtpd/0.43rc1) with SMTP; Thu, 11 Sep 2008 10:21:08 -0700
Received: (qmail 68495 invoked from network); 11 Sep 2008 17:21:04 -0000
Received: from unknown (HELO ?192.168.1.81?) (drmuey [...] att.net [...] 70.140.36.232 with plain) by smtp106.sbc.mail.mud.yahoo.com with SMTP; 11 Sep 2008 17:21:04 -0000
Delivered-To: cpan-bug+Hash-Merge [...] diesel.bestpractical.com
Subject: Re: [rt.cpan.org #39183] Use Clone::PP as a fallback
Return-Path: <webmaster [...] simplemood.com>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: bug-Hash-Merge [...] rt.cpan.org
Date: Thu, 11 Sep 2008 12:20:07 -0500
X-Spam-Level: *
Message-Id: <C14B56AA-82CD-4CC9-B20A-BAE744736E1B [...] simplemood.com>
To: bug-Hash-Merge [...] rt.cpan.org
Content-Transfer-Encoding: 7bit
From: Dan Muey <webmaster [...] simplemood.com>
RT-Message-ID: <rt-3.6.HEAD-24620-1221153678-764.39183-0-0 [...] rt.cpan.org>
Content-Length: 862
Download (untitled) / with headers
text/plain 862b
great idea, thanks! On Sep 11, 2008, at 8:59 AM, Bianka Martinovic via RT wrote: Show quoted text
> Thu Sep 11 09:59:05 2008: Request 39183 was acted upon. > Transaction: Ticket created by MAB > Queue: Hash-Merge > Subject: Use Clone::PP as a fallback > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: blackbird@webbird.de > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=39183 > > > > It would be nice to offer an optional fallback to Clone::PP in case > someone wants to use Hash::Merge, but can't install Clone. (On a web > server, for example.) > > To do this, just change sub _my_clone to: > > if( $clone_behavior ) { > ## patch > eval "require Clone;"; > if ( $@ ) { > eval "require Clone::PP"; > } > } > > While Clone::PP is slower than (XS) Clone, it still works. :)
X-Ymail-Osg: B8k_TGkVM1kG318LnuGVKL2Y1F7FtpNe3VBRKv194kINqfwTwWIFoZn2A8XYGZqlolG5bq_vV5.78Iy92w47eQlocbQgRNBOgTRR00lYhxmlayFT2t7l.MmgGvT5FHM-
MIME-Version: 1.0 (Apple Message framework v926)
X-Spam-Status: No, hits=-2.6 required=8.0 tests=BAYES_00
In-Reply-To: <rt-3.6.HEAD-27892-1221141547-22.39183-4-0 [...] rt.cpan.org>
X-Mailer: Apple Mail (2.926)
References: <RT-Ticket-39183 [...] rt.cpan.org> <rt-3.6.HEAD-27892-1221141547-22.39183-4-0 [...] rt.cpan.org>
X-Yahoo-Newman-Property: ymail-3
Content-Type: text/plain; charset="utf-8"; format="flowed"
X-RT-Original-Encoding: utf-8
Received: from x1.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id 9E90F4D8045 for <bug-Hash-Merge [...] rt.cpan.org>; Thu, 11 Sep 2008 13:21:20 -0400 (EDT)
Received: (qmail 11578 invoked from network); 11 Sep 2008 17:21:19 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 11 Sep 2008 17:21:19 -0000
Received: from smtp106.sbc.mail.mud.yahoo.com (HELO smtp106.sbc.mail.mud.yahoo.com) (68.142.198.205) by 16.mx.develooper.com (qpsmtpd/0.43rc1) with SMTP; Thu, 11 Sep 2008 10:21:11 -0700
Received: (qmail 68579 invoked from network); 11 Sep 2008 17:21:08 -0000
Received: from unknown (HELO ?192.168.1.81?) (drmuey [...] att.net [...] 70.140.36.232 with plain) by smtp106.sbc.mail.mud.yahoo.com with SMTP; 11 Sep 2008 17:21:08 -0000
Delivered-To: cpan-bug+Hash-Merge [...] diesel.bestpractical.com
Subject: Re: [rt.cpan.org #39183] Use Clone::PP as a fallback
Return-Path: <webmaster [...] simplemood.com>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: bug-Hash-Merge [...] rt.cpan.org
Date: Thu, 11 Sep 2008 12:21:07 -0500
X-Spam-Level: *
Message-Id: <8CC79C19-5098-4006-8C2A-8258642E6AD4 [...] simplemood.com>
To: bug-Hash-Merge [...] rt.cpan.org
Content-Transfer-Encoding: 7bit
From: Dan Muey <webmaster [...] simplemood.com>
RT-Message-ID: <rt-3.6.HEAD-24610-1221153694-573.39183-0-0 [...] rt.cpan.org>
Content-Length: 862
Download (untitled) / with headers
text/plain 862b
great idea, thanks! On Sep 11, 2008, at 8:59 AM, Bianka Martinovic via RT wrote: Show quoted text
> Thu Sep 11 09:59:05 2008: Request 39183 was acted upon. > Transaction: Ticket created by MAB > Queue: Hash-Merge > Subject: Use Clone::PP as a fallback > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: blackbird@webbird.de > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=39183 > > > > It would be nice to offer an optional fallback to Clone::PP in case > someone wants to use Hash::Merge, but can't install Clone. (On a web > server, for example.) > > To do this, just change sub _my_clone to: > > if( $clone_behavior ) { > ## patch > eval "require Clone;"; > if ( $@ ) { > eval "require Clone::PP"; > } > } > > While Clone::PP is slower than (XS) Clone, it still works. :)
MIME-Version: 1.0
In-Reply-To: <rt-3.6.HEAD-24610-1221153694-573.39183-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <RT-Ticket-39183 [...] rt.cpan.org> <rt-3.6.HEAD-27892-1221141547-22.39183-4-0 [...] rt.cpan.org> <8CC79C19-5098-4006-8C2A-8258642E6AD4 [...] simplemood.com> <rt-3.6.HEAD-24610-1221153694-573.39183-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-14813-1266250633-1950.39183-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 70
I've just uploaded 0.12 to CPAN and it falls back to Clone::PP, thanks


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.