Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Why isn't my script reading from my file?

by atcroft (Abbot)
on Aug 15, 2019 at 02:21 UTC ( #11104498=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ cat 11104497.pl
    #!usr/bin/local/perl
    use strict;
    ...
    
    print "$_ occured $count{$_} times\n" for @sorted_by_count[ 0 .. 9 ];
    
  2. or download this
    $ cat janne.txt
    This is a test.
    ...
    this occured 1 times
    
    $
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2020-10-30 20:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (284 votes). Check out past polls.

    Notices?