Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
How do you get the data structure of an object in Perl?
I can easily do this in R using str -
str(data)
I wonder if there is similar one in Perl.
您可以使用该Data::Dumper模块转储对象的结构。
Data::Dumper
use Data::Dumper; print Dumper($data);