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 imbibing at the Monastery: (9)
As of 2015-03-01 15:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (5 votes), past polls