Subject: | lwpcookies leftovers |
`release' loves to leave around little .lwpcookies files, which
interferes with Module::Signature. I am currently subclassing
Module::Release's constuctor to make the cookies object use a file which
is deleted when the program exists:
sub new {
my ( $class, @args ) = @_;
my $self = $class->SUPER::new(@args);
my $fh = File::Temp->new( UNLINK => 1 );
$self->{cookies} = HTTP::Cookies->new(
file => $fh->filename,
hide_cookie2 => 1,
autosave => 1
);
$self;
}
Is there any reason that the cookie file needs needs to exist after
release is finished?
--
Ian Langworth