title: PERL Tk and Forks Mismatch Modules
body: <p>I'm developing a Perl multi-threading software for Windows and Linux, by using threads and forks modules respectively.
  Everything works fine with standard output directed to shell, however once i decide to produce a GUI by including Tk module into the script, just the Windows version of the app works fine (actually not really well, but the output is acceptable), as when i try to run it on Linux together with Forks module and a simple button starting the script, something went wrong.</p>
  
  <p>Below, you can find the error message associated with it:</p>
  
  <pre><code>***.button (1):
   0 0x32bef88   IV f=00000001 undef(1)
  SV = IV(0x32bef78) at 0x32bef88
    REFCNT = 1
    FLAGS = ()
    IV = 0
  Prototype mismatch: sub CORE::GLOBAL::exit (;$) vs none at /usr/local/lib/perl5/site_perl/5.26.0/x86_64-linux/forks.pm line 1509.***
  </code></pre>
  
  <p>The prototype mismatch could be linked with a common function embedded into both Tk and Forks modules, but honestly i don't know how to solve it.
  I've been trying to include specific 'forks' of 'Tk' functions, but no way to fix it.</p>
  
  <p>Thanks in advance for any help on this subject.</p>