Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Perl beginnere

by kennethk (Abbot)
on Feb 13, 2013 at 17:44 UTC ( #1018587=note: print w/replies, xml ) Need Help??


in reply to Perl beginnere

Some useful starting information:
  1. Files and I/O in perlintro talks about how to open and read a file.
  2. You need to define what you mean by a 'word'. I know that sounds a bit strange at first, but that will control how you split your sentences up.
  3. length and split will probably be very useful functions, though you may use other variants on regular expressions for the line parsing.
  4. For all word counts, you'll definitely want to use a hash.

Post code that you've written, and we'll be happy to give both syntactic and stylistic feedback. However, we're here to help you learn, and learning generally takes a lot of work on your part. See How do I post a question effectively?.


#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1018587]
help
Chatterbox?
[Discipulus]: New Zeland and Italy share a simila faith!
[Discipulus]: same shape, earthquakes and premier dimissions the same day

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2016-12-05 11:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (80 votes). Check out past polls.