[Bioperl-l] Fwd: [Bioperl-guts-l] [15178] bioperl-live/trunk: new test method test_output_dir(), a wrapper around Temp::File::tempdir
Sendu Bala
bix at sendu.me.uk
Tue Dec 16 17:27:46 UTC 2008
Jason Stajich wrote:
> Bio::Root::IO already had a tempdir function which did some workarounds
> if File::Temp wasn't installed.
> I guess we assume File::Temp is installed as an essential module now
> then to install (in order to run tests)?
>
> Does it make sense to consolidate and depend on File::Temp aspects?
File::Temp is included in perl 5.6.1, which is required. So yes, it is
safe to assume the existence of File::Temp and to get rid of workaround
code.
I only wrapped tempdir in Bio::Root::Test just for the sake of method
name consistency (there is already a test_output_file() method) and
ease-of-use.
>> *From: *Senduran Balasubramaniam <sendu at dev.open-bio.org
>> <mailto:sendu at dev.open-bio.org>>
>> *Date: *December 16, 2008 4:48:22 AM PST
>> *To: *bioperl-guts-l at bioperl.org <mailto:bioperl-guts-l at bioperl.org>
>> *Subject: **[Bioperl-guts-l] [15178] bioperl-live/trunk: new test
>> method test_output_dir(), a wrapper around Temp::File::tempdir*
>>
>> Revision: 15178
>> Author: sendu
>> Date: 2008-12-16 07:48:21 -0500 (Tue, 16 Dec 2008)
>>
>> Log Message:
>> -----------
>> new test method test_output_dir(), a wrapper around Temp::File::tempdir
More information about the Bioperl-l
mailing list