Skip Menu |

This queue is for tickets about the Rcs-Agent CPAN distribution.

Report information
The Basics
Id: 26071
Status: resolved
Priority: 0/
Queue: Rcs-Agent

People
Owner: Nobody in particular
Requestors: DOUGW [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.03
Fixed in: (no value)



Subject: diff fails when you set tmpdir option
<p>When you set a tmpdir in new() and call diff(), then pipestderrout calls a 'tmpdir' method, which doesn't exist, so it goes to AUTOLOAD, which reports it can not find a tmpdir method. Suggested fix, add 'tmpdir' to the list of methods to match in AUTOLOAD:</p> <code> ($method =~ /^(locked|locker|state|author|date|log)$/) || confess ("Can't locate object method \"$method\""); </code>
From: DOUGW [...] cpan.org
Ignore that fix...just change this line in pipestderrout: my $tmpdir = defined ($self->{tmpdir}) ? $self->tmpdir : "/tmp"; to this: my $tmpdir = defined ($self->{tmpdir}) ? $self->{tmpdir} : "/tmp";
Fixed in 1.05