# data is a pointer $data = ABC::readdatafile($filename); print "$data"; # output of print is: ABC::Data=SCALAR(0xc7918) # my goal is to be able to do use this and features like: $high = $data->get_high($signal); $low = $data->get_low($signal);