Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 having an uproarious good time at the Monastery: (13)
As of 2015-09-01 17:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred temperature scale is:










    Results (40 votes), past polls