perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Random Joe <sapillai2...@yahoo.com>
Subject mp2 : Win32::GetShortPathName usage
Date Wed, 02 Jun 2004 14:26:53 GMT
Greetings,

I am trying to build mod_perl 1.99_13 on Win 2000 (VC
6.0).

In mod_perl-1.99_13\lib\ModPerl\BuildOptions.pm around
lines 110 - 111

if (Apache::Build::WIN32()) {
    # MP_AP_PREFIX may not contain spaces
    require Win32;
    $val = Win32::GetShortPathName($val);
}

Why do we need to require Win32.pm ?
Win32::GetShortPathName is in Perl Core. 

I also have another doubt. 

I want to avoid using Win32.pm. I have built perl
5.8.3 native on win32. I notice that mod_perl uses
Win32::Process in
Apache-Test\lib\Apache\TestServer.pm. If I ignore this
usage or workaround it - can I safetly avoid using
Win32::* (libwin32) w.r.t to mod_perl ?

regards
srp


	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Mime
View raw message