in reply to Push + variable argument

Please use <code> or shorter <c> tags around your code examples

Please provide essential information like what CPAN module you are using

Do you expect that the call to transform_file of the (to us) unknown module would fill $arg ? Or do you yourself want to fill $arg in your program?