Thomas, Timothy B wrote: > Aldo - pretty cool, did you just implement that? > I seem to be getting a not-very-descriptive error when I > try your code. See below. > Tim > > D:\Archive\scripts\completed\digitaltool>perl aldourl.gpl > Wrong number of parameters: expected 0, got 2. > BEGIN failed--compilation aborted at aldourl.gpl line 2.
sorry, I forgot to mention that you need Win32::API version 0.20. if you don't want to upgrade Win32::API, you can change the following lines in HyperLink.pm 13: my $LoadCursor = new Win32::API("user32", "LoadCursor", "NN", "N"); -> my $LoadCursor = new Win32::API("user32", "LoadCursor", [N,N], "N"); 14: my $ShellExecute = new Win32::API("shell32", "ShellExecute", "NPPPPI", "N"); -> my $ShellExecute = new Win32::API("shell32", "ShellExecute", [N,P,P,P,P,I], "N"); cheers, Aldo __END__ $_=q,just perl,,s, , another ,,s,$, hacker,,print;