Hope that helps!$HumptyDumpty->sit( on => 'wall' ); $HumptyDumpty->fall( 'great' ); foreach( $King->Horses(), $King->Men() ) { exit(0) if $_->put_back_together_again( $HumptyDumpty ); } die "Couldn't put " . $HumptyDumpty . " back together again"; ############################################################# $baby->hush( 'a-bye' ); push @tree_top, $baby; while( $wind->blows() ) { $cradle->rock(); last if $bough->breaks(); } $baby->fall(); map { $_->down() } ( $baby, $cradle ); ############################################################# warn "Fee! Fie! Foe! Fum!"; $_ = new Smell( 'blood', 'Englishman'); if( $_->live() or $_->dead() ) { #this will never fail my $bread = $_->grind_bones(); } ############################################################# $Mary->Lamb( little => 1, fleece => 'white as snow' ); go( $Mary ) and go( $Mary->Lamb ); ############################################################# print "Baa Baa"; if( exists $black_sheep->{'wool'} ) { print "Yes sir"x2; @wool = ($black_sheep->{'wool'})x(3 * $bags); ($master, $dame) = @wool; if( $little_boy->lives( 'down the lane' ) ) { $little_boy = shift @wool; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: For the wee ones - perl Nursery Rhymes
by ikegami (Patriarch) on Nov 02, 2006 at 22:48 UTC | |
by zentara (Cardinal) on Nov 03, 2006 at 13:23 UTC |