Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Why isn't my script reading from my file?

by Jannejannesson (Novice)
on Aug 15, 2019 at 02:04 UTC ( [id://11104497]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!usr/bin/local/perl
    #use strict;
    ...
    print "These are the 10 most frequented words of $file_name :\n";
    
    print "$_ occured $count{$_} times\n" for @sorted_by_count[0 .. 9];
    
  2. or download this
    :~/projekt$ perl wfreq.pl janne.txt
    These are the 10 most frequented words of janne.txt :
    ...
     occured  times
     occured  times
    :~/projekt$
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11104497]
Approved by GrandFather
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (1)
As of 2024-04-25 19:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found