<%args> data data2 fileName <%init> use constant mm => 25.4/72; use constant in => 1/72; use constant pt => 1; <%perl> PDF::Reuse::prFile($fileName); ...some other commands... PDF::Reuse::prEnd();