All the examples in the perl/examples/ subdirectory may be freely copied without any restrictions.