Skip Menu |

This queue is for tickets about the PAR CPAN distribution.

Report information
The Basics
Id: 3923
Status: rejected
Priority: 0/
Queue: PAR

People
Owner: Nobody in particular
Requestors: hdias [...] aesbuc.pt
Cc:
AdminCc:

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



Date: Wed, 1 Oct 2003 14:14:07 +0100 (WEST)
From: Henrique Dias <hdias [...] aesbuc.pt>
To: Autrijus Tang <autrijus [...] autrijus.org>
CC: bug-par [...] rt.cpan.org
Subject: Temporary directory
Hi, I have a problem with PAR, when start running a standalone script and the script crash, the temporary directory "/tmp/par_priv.xxxxx.tmp" is not removed. Is possible remove the modules from "/tmp/par_priv.xxxxx.tmp" directory after loading the modules to memory or even remove all directory instead of cleaning it in the end? The PAR archive of my standalone script have a lot of files and many of them are very large files and I don't have space for all. Thanks Henrique Dias --------------------------------------------- #!/usr/bin/perl # load the modules to memory use Module1; use Module2; use Module3; # clean the Module files from tmp unlink("/tmp/par_priv.xxxxx.tmp/Module1.pm"); unlink("/tmp/par_priv.xxxxx.tmp/Module2.pm"); unlink("/tmp/par_priv.xxxxx.tmp/Module3.pm"); &main(); sub main { ... } 1; ---------------------------------------------- -- ------------------------------------------------ Henrique Manuel Ribeiro Dias Escola Superior de Biotecnologia - UCP Gabinete de Desenvolvimento de Software Rua Dr. Antonio Bernardino de Almeida 4200 Porto Portugal Tel: 351-225580092 CPAN: http://www.cpan.org/authors/id/H/HD/HDIAS/ ------------------------------------------------
See "clean" flag.