Re: Perl's Win32::API on MSYS
[email protected] (Aldo Calpini) Wed, 02 Oct 2013 10:02:48 +0200
| Newsgroups | perl.libwin32 |
|---|---|
| Message-ID | <[email protected]> |
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(@_) };
# eventually warn or do something different if $@
this way $dlib either contains the correct cflags or is left undefined.
cheers,
Aldo