in reply to require 'package'
Does that work for you?BEGIN { print "how to print this"; }
At the same time I'd wonder whether your code setup is really as nice as possible; why do you need this code to be executed at compile-time, and is it possible that your logic could be reworked so that you don't have to put the print out in the open like that? And so on.
|
|---|