ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Main Area and Open Discussion > General Software Discussion

Two in-depth articles for developers and open source enthusiasts

<< < (4/4)

40hz:
One nice thing about Perl is that it lets you be as clever as you want to.

This is an example of functional Perl code courtesy of 99-Bottles-of-Beer.net
It prints out the lyrics to (what else? ;D) the 99 Bottles of Beer song.

Link: http://www.99-bottles-of-beer.net/language-perl-737.html



You can also see the same program in 1252 additional programming languages at:
 http://www.99-bottles-of-beer.net/

Welcome to 99 Bottles of Beer

This Website holds a collection of the Song 99 Bottles of Beer programmed in different programming languages. Actually the song is represented in 1253 different programming languages and variations. For more detailed information refer to historic information.

All these little programs generate the lyrics to the song 99 Bottles of Beer as an output.
--- End quote ---

 8)

bgd77:
Wow! This is very interesting. Thanks, 40Hz! :D

bgd77:
Two funny quotes regarding Perl from a book:
1) "You can create as complex a structure as your sanity, design practices, and computer memory allow. Be kind to the person who might have to manage your code-please keep it as simple as possible. On the other hand, if you are just trying to impress someone with your coding ability, Perl gives you a lot of opportunity to mystify yourself and improve your social life."
2) print "\n"; # The obligatory output beautifier.

Navigation

[0] Message Index

[*] Previous page

Go to full version