in reply to Re^2: Copy XML file, write new attributes and move the old files. (bind to a variable)
in thread Copy XML file, write new attributes and move the old files.

Hey sorry, struggling with the website. I think i overdid it abit codwise. With bind to a variable i mean to have the copied file "xmloutputfile" assigned to a variable to have it available for me to use in other subs.

What do you mean by file? File name (file path)? File handle? File contents?

See the "chapter" on argument passing, see http://perldoc.perl.org/perlintro.html#Writing-subroutines ( and/or http://learn.perl.org/books/beginning-perl/, http://perl-tutorial.org/, Modern Perl )

  • Comment on Re^3: Copy XML file, write new attributes and move the old files. (bind to a variable)