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

Reply via email to