The Perl source distribution comes with some sample
scripts in the eg/ subdirectory. Feel free to
browse among them and use them. They are not installed
automatically, however, so you need to copy them to the
appropriate directory and possibly fix the #!
line to point to the right
interpreter.
The files in the t/ and lib/ subdirectories, although arcane in spots, can also serve as examples.
3.16.66.156