darkreaper00
Technical User
I have a command bound to objects on a canvas like so:
$canvas->bind($id, '<ButtonRelease-2>' => [\&netscape, $org, $call_subject, $B_hits[$m]{qstart}, $B_hits[$m]{qend}]);
It calls the function netscape() correctly, but my arguments are passed as things like:
Tk::Canvas=HASH(0x14059da90), SCALAR(0x1401285a0), SCALAR(0x140128720), SCALAR(0x140530490)
This happens whether or not I make them references (\$org, etc.)
any ideas? thanks!
$canvas->bind($id, '<ButtonRelease-2>' => [\&netscape, $org, $call_subject, $B_hits[$m]{qstart}, $B_hits[$m]{qend}]);
It calls the function netscape() correctly, but my arguments are passed as things like:
Tk::Canvas=HASH(0x14059da90), SCALAR(0x1401285a0), SCALAR(0x140128720), SCALAR(0x140530490)
This happens whether or not I make them references (\$org, etc.)
any ideas? thanks!