my $gnuplot = eval \$buffer->($canvas); #OUTPUT: #Undefined subroutine &main::sub {