in reply to Win32 Keyboard hook in perl

It's $hook->Call(...), not Call->$hook(...).

Replies are listed 'Best First'.
Re^2: Win32 Keyboard hook in perl
by xdeletex (Novice) on Sep 10, 2004 at 00:29 UTC
    thanks bart you fixed something i obviously overlooked. Now back to the other 82 problems heh :\
      Ok now please enlighten me on the proper way to create a pointer with the win32::api mod. I tried what the docs said exactly, $foo = " " x 80;

        $hooker = $hook->Call($idHOOK, $lpfn, $hmod, $dwThreadId);

        IIRC, $lpfn is supposed to be a reference to a subroutine so that it can be used as a callback.