in reply to Copying complete module code into a script
Of course you can technically do it! This is Perl, after all...