perlknight has asked for the wisdom of the Perl Monks concerning the following question:
All,
in python you can write a module and declare package main to test it. Can something like this be done in perl? e.g:
Thanks.package abc; come code... package main some test code for this module
2006-02-13 Retitled by Steve_p, as per Monastery guidelines
Original title: 'Can this be done...'
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How Do I Bundle Perl Modules and Their Tests Into the Same File?
by BrowserUk (Patriarch) on Feb 13, 2006 at 00:39 UTC | |
by salva (Canon) on Feb 13, 2006 at 08:45 UTC | |
by BrowserUk (Patriarch) on Feb 13, 2006 at 12:46 UTC | |
Re: How Do I Bundle Perl Modules and Their Tests Into the Same File?
by jdhedden (Deacon) on Feb 13, 2006 at 00:16 UTC | |
by perlknight (Pilgrim) on Feb 13, 2006 at 00:30 UTC | |
by ikegami (Patriarch) on Feb 13, 2006 at 03:13 UTC | |
Re: How Do I Bundle Perl Modules and Their Tests Into the Same File?
by bmann (Priest) on Feb 13, 2006 at 04:38 UTC |
Back to
Seekers of Perl Wisdom