Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Counting lines by content

by hackmare (Pilgrim)
on Oct 10, 2002 at 11:05 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-03-29 10:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found