Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

DJ Purrperl

by DJ Purrperl (Novice)
on Aug 11, 2007 at 05:18 UTC ( #631927=user: print w/ replies, xml ) Need Help??

#!/usr/bin/perl
while ( chomp (<DATA>) ) {
    print join ',', grep $_, map length, split /a,/;
    print "\n";
}
__END__
a bug trapped inside
a paper lantern, arid
aflutter, ablaze

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 about the Monastery: (10)
As of 2015-08-04 20:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (75 votes), past polls