• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 218
  • Last Modified:

CPAN module for text stats

I am wondering if there is a module in CPAN that can do the functions of the UNIX command wc. For example, count words, count lines, count characters etc.

I know the code to do this is fairly simple, please don't post any examples. Just would like to know if a module exists.
0
leighzions
Asked:
leighzions
  • 2
  • 2
1 Solution
 
guadalupeCommented:
Try this one:

Lingua
0
 
ozoCommented:
Do you want it to use the same command line options as `wc`?
0
 
leighzionsAuthor Commented:
quadalupe, I was wondering if I could get a link to the module to download.
0
 
leighzionsAuthor Commented:
Thanks, I had to search throught the readmes to find it, Lingua::EN::Fathom
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now