in reply to 12 days of Perl?
gives 339.s/%/ing,/
Update 335:
s/%/ing,/,$_=($i++?$i-1+print" ":a)." $_",print"On the $i",(st,nd,rd)[$i-1]||th," day of Christmas, my true love gave to me: ",$@=$_.$@for split/^/,<<'' partridge in a pear tree. turtle doves and French hens, calling birds, golden rings, geese a-lay% swans a-swimm% maids a-milk% ladies danc% lords a-leap% pipers pip% drummers drumm%
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: 12 days of Perl?
by johnaj (Sexton) on Apr 30, 2021 at 22:00 UTC | |
|
Re^2: 12 days of Perl?
by WithABeard (Beadle) on May 09, 2023 at 12:07 UTC |