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

footpad's scratchpad

by footpad (Monsignor)
on Jun 02, 2004 at 02:08 UTC ( #359005=scratchpad: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    
    ...
    foreach $element (grep { !/\s/ } @words) {
       print "Element ", sprintf( "%02d", $count++ ), ": $element\n";
    }
    
  2. or download this
    Element 00: I
    Element 01: am
    Element 02: Sam
    ...
    Element 05: I
    Element 06: am
    Element 07: .
    

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2016-02-13 07:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (420 votes), past polls