At least in the code you have shown so far, you never call the subroutine.
In reply to Re^3: text files are printed after the end of second module
by Corion
in thread text files are printed after the end of second module
by myfrndjk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |