Mark Dootson <mark.doot...@znix.com> writes:

> use Wx;
> if(($Wx::VERSION =~ /^(0\.95|0\.96)$/) && (not exists($ENV{PAR_0}))) {
>    *Wx::load_dll = sub {
>      return if $^O =~ /^darwin/i;
>      goto &$Wx::load_fun;
>    };
> }

Thanks for the speedy answer. Unfortunately, it generates some errors:

  Name "Wx::load_fun" used only once: possible typo at /usr/bin/ebwxshell line 
25.
  Subroutine Wx::load_dll redefined at /usr/bin/ebwxshell line 26.
  Use of uninitialized value $Wx::load_fun in subroutine dereference at 
/usr/bin/ebwxshell line 25.
  Unable to create sub named "" at /usr/bin/ebwxshell line 25.
  Compilation failed in require at (eval 75) line 1.

Apparently, Wx::load_fun is unknown or uninitialized. Where is it
supposed to come from?

-- Johan

Reply via email to