Re: Perl's Win32::API on MSYS

2013-10-02 Thread Aldo Calpini
On 10/02/2013 08:37 AM, bulk 88 wrote: The commit looks very broken. var $dlib becomes an undeclared global. I did test Win32::API with Visual C Perl 5.6 with also, defined(&SUPER::cflags) is SUPER::broken :-) a better approach could be: my $dlib = eval {$self->SUPER::cflags(@_) }; # e

Re: Perl's Win32::API on MSYS

2013-10-02 Thread Sebastian Schuberth
On Wed, Oct 2, 2013 at 8:37 AM, bulk 88 wrote: >> can anyone have a look at this pull request >> from Sebastian for Win32::API? >> >> It is about cygwin support AFAICS. It's not about Cygwin support, but MSYS support. > The commit looks very broken. var $dlib becomes an undeclared global. I di

Re: Perl's Win32::API on MSYS

2013-10-02 Thread Sebastian Schuberth
On Wed, Oct 2, 2013 at 10:02 AM, Aldo Calpini wrote: > a better approach could be: > > my $dlib = eval {$self->SUPER::cflags(@_) }; > # eventually warn or do something different if $@ I've updated my pull request with this approch, please see: https://github.com/cosimo/perl5-win32-api/pull/