in reply to how to put Chart::Gnuplot::DataSet->new and Chart::Gnuplot->new into a subroutine?
Hello again buchi2,
You can get more information about your question here perlsub/Pass by Reference.
Hope this helps, BR.