- 论坛徽章:
- 0
|
回复 1楼 woqpalsk 的帖子
Hallo,
I should say yes!
Because perl using such complex data structure has advantage but alse disadvantage too.
Advantage is that you can very simply process any vars in those data structure.
Disadvantage is that many memery are required if the data structure is greater and greater.
For example, the module Net::LDAP - Lightweight Directory Access Protocol uses this
data structure mothed to store search result from LDAP records, you will find CPU's and memery occupied huge percenatge. the module for XML, I think, is to use those data
structure too.
Wenn you write own code to use the complex data structure, save the data which you exactly want. even if the data is still too large, the mothed of using DB_File,pm, Storable,pm is alternative too.
Please ref. to perldoc perllol, perldocdsc.
Best,
ulmer
--------------
Just 4 Fun |
|