BOOK Programming Language Examples Alike Cookbook

The PLEAC project at (or for Tcl-only) project is an effort to re-implement examples from the O'Reilly Perl Cookbook in various other languages. It demonstrates translation of solutions originally expressed in Perl. The purpose is to make it possible for people to compare similar solutions in a number of languages.

The intent is not to show Tcl solutions to new problems (that's for the BOOK ActiveState Tcl Cookbook), or tutorials on how Tcl solutions work.

The main page isn't updated very often. The CVS page is here: [1 ]. Even that can be out of date.

(2004-01-15) The quality of Tcl-PLEAC has been questioned. You can help improve it by looking at it [2 ] and

  • flag errors or just bad style
  • suggest code improvements
  • provide references to related Tcl documentation/source

If you want to do this, join the PLEAC mailing list and post suggestions there.

A note on freshmeat says :

 PLEAC 200501 
 by Guillaume Cottenceau (
 Sat, Jan 22nd 2005 13:50

About: The PLEAC project aims to re-implement the solutions presented in the Perl Cookbook (by Tom Christiansen & Nathan Torkington, published by O'Reilly) in other programming languages. If successful, this project may become a primary resource for quick, handy, free solutions to most common programming problems using higher-level programming languages. It could also be useful for comparison on ease-of-use and power/efficiency of these languages.

Changes: Python and Ruby contributions have been coming in steadily (both now over 60%). Sizable contributions have been made to Tcl (25%), Ocaml (24%), Ada (26%) and Pliant (9%). Pike has also picked up as of late (14%). R has been added. To simplify using and creating example scripts, an include system has been implemented, allowing scripts and data to live in separate files, which makes them easier to be accessed and used. Standalone scripts are also accessible as links from the Web presentation. There are now graphics that show the evolution of the project over time.

License: GNU Free Documentation License (FDL)


A recent thread on comp.lang.tcl, beginning at [3 ] discussed Tcl-PLEAC.

2004-01-15: Another thread: [4 ]