Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Counting lines by content

by hackmare (Pilgrim)
on Oct 10, 2002 at 11:05 UTC ( #204143=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    print "there are ".scalar (keys %{$h->{fruit}->{banana}})." banana bre
    +eds\n";
    
    print "Good luck with your homework\n";
    
  2. or download this
    C:\>perl test.pl
    Hello, World...
    ...
    there are 3 apple breeds
    there are 2 banana breeds
    Good luck with your homework
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2023-03-27 16:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (65 votes). Check out past polls.

    Notices?