Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: separate word count for each line of a file

by 2teez (Priest)
on Nov 22, 2012 at 03:54 UTC ( #1005049=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    use warnings;
    use strict;
    It followed her to school one day
    which was against the rules.
  2. or download this
     In line: 1 word: Mary has length: 4
     In line: 1 word: had has length: 3

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1005049]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2015-11-26 23:51 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (710 votes), past polls