use warnings; use strict; my $proj_name = 'foo'; printf "%8s\_lib\n", $proj_name; __END__ foo_lib