Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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 perusing the Monastery: (7)
As of 2016-10-23 22:23 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (302 votes). Check out past polls.