Re: Perl's Win32::API on MSYS
[email protected] (Aldo Calpini) Fri, 04 Oct 2013 15:59:30 +0200
| Newsgroups | perl.libwin32 |
|---|---|
| Message-ID | <[email protected]> |
On 10/04/2013 03:11 PM, Sebastian Schuberth wrote:
> Anyway, the fact that the method is not found indicates that there's
> no fallback to MM_Unix.pm.
no, there is (or there *should* be, at least). this line:
@ISA = qw( ExtUtils::MM_Any ExtUtils::MM_Unix );
tells that ExtUtils::MM_Win32 is a subclass of ExtUtils::MM_Unix (and
_Any as well), so it should happily inherit methods from there.
if you execute:
perl -MExtUtils::MM_Win32 -e 'print "YES THERE IS" if
ExtUtils::MM_Win32->can("cflags");'
you should get "YES THERE IS".
I can only guess that the "package ExtUtils::MM_Win32" inside the
MY::cflags sub confuses perl 5.8.8's notion of inheritance somehow...
@bulk88: why is that line needed in first place?
cheers,
Aldo
cheers,
Aldo