This document provides instructions for writing Perl scripts. It discusses four mandatory lines that must be included in every Perl script, useful modules for files and options, documentation methods, and an exercise for calculating assembly statistics from a file. The four mandatory lines are the shebang line, and lines to use warnings, use strict, and end the script. Useful file modules include File::Basename and File::Spec, while GetOpt::Std handles command line options. Documentation can be included through comments, perldoc, or print statements. The exercise involves calculating metrics like total base pairs, longest/shortest sequences, N50, and related values.