in reply to Re^3: subrefs, IPC and gnuplot's tkcanvas
in thread subrefs, IPC and gnuplot's tkcanvas
I did need to convert the name $canvas to $can.my $can = $canvas; eval($buffer);
While I was waiting for your reply, I also found that this worked
Thanks again.use Sub::Install; Sub::Install::install_sub({ code => sub {eval $buffer}, into => main::, as => 'foo' }); &foo($canvas);
|
|---|