| Server IP : 164.138.27.172 / Your IP : 216.73.216.143 Web Server : nginx/1.27.4 System : Linux cookingdream 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64 User : www-adm ( 1001) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /home/jonasn/.cpan/build/File-HomeDir-1.006-0/t/ |
Upload File : |
#!/usr/bin/perl
# Compile-testing for File::HomeDir
use strict;
BEGIN
{
$| = 1;
$^W = 1;
}
use File::Spec::Functions ':ALL';
use Test::More tests => 11;
# This module is destined for the core.
# Please do NOT use convenience modules
# use English; <-- don't do this
ok($] >= 5.008003, 'Perl version is 5.8.3 or newer');
use_ok('File::HomeDir::Driver');
use_ok('File::HomeDir::Unix');
use_ok('File::HomeDir::FreeDesktop');
use_ok('File::HomeDir::Darwin');
use_ok('File::HomeDir::Darwin::Carbon');
use_ok('File::HomeDir::Darwin::Cocoa');
use_ok('File::HomeDir::Windows');
use_ok('File::HomeDir::MacOS9');
use_ok('File::HomeDir');
ok(defined &home, 'Using File::HomeDir exports home()');
# Note the driver we are using for the purposes of
# understanding CPAN Testers failure reports.
diag("Implemented by: $File::HomeDir::IMPLEMENTED_BY");
# Prevent a warning
$File::HomeDir::IMPLEMENTED_BY = $File::HomeDir::IMPLEMENTED_BY;