Perl模块收藏


收藏了一些实用的Perl模块,避免重复造轮子。

update 2014-07-10

文件和路径

  • File::Path qw(make_path remove_tree)  - Create or remove directory trees
  • File::DirWalk – Walk through a directory tree and run own code
  • File::Find - Traverse a directory tree
  • File::Spec – Portably perform operations on file names
  • File::Basename – Parse file paths into directory, filename and suffix.
  • File::Tee – replicate data sent to a Perl stream
  • File::Copy – Copy files or filehandles
  • Tie::File - Access the lines of a disk file via a Perl array

数据结构

  • Set::IntervalTree – Perform range-based lookups on sets of ranges。区间树。
  • BerkeleyDB - 高效的嵌入式数据库编程库,可以保存任意类型的键/值对,而且可以为一个键保存多个数据。

数学

  • Math::Combinatorics - Perform combinations and permutations on lists
  • Array::Diff - Find the differences between two arrays [attention: sort the array before comparison!!! It's a bug of the module]

系统

语言

其它

优化

待更新。。。

 

Related Posts:
1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)
Loading ... Loading ...