perl_help26 has asked for the wisdom of the Perl Monks concerning the following question:
Hello,
I have a .pl script with the following structure:
I am trying to build a test module for this pl script. Is there a way to export the functions WITHOUT running the while loop? Preferably, I do not want to split the functions into a .pm file. Thanks ...use X; use Data::Dumper; sub func1 {....} sub func2 {....} until (should_stop()) { ..... .... .. }
Back to
Seekers of Perl Wisdom