Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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 romping around the Monastery: (7)
As of 2014-11-23 11:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (131 votes), past polls