in reply to Re: reaching into a perl script from a package
in thread reaching into a perl script from a package
So I would assume that I can't do a "require" or "use" on it and then test for the function name using $package::func.#! /usr/bin/perl.
The reason I need to do this is because I have a lot of Perl scripts written/maintained by someone else. I would like to pull them unmodified into my test harness and execute functions inside them without having to modify the code.
Hope this clears it up and thanks for all the help. -brad w.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: reaching into a perl script from a package
by kwaping (Priest) on Oct 02, 2006 at 19:46 UTC | |
|
Re^3: reaching into a perl script from a package
by davido (Cardinal) on Oct 02, 2006 at 19:41 UTC | |
by Brad.Walker (Sexton) on Oct 02, 2006 at 19:56 UTC | |
by davido (Cardinal) on Oct 02, 2006 at 20:06 UTC | |
|
Re^3: reaching into a perl script from a package
by CountZero (Bishop) on Oct 02, 2006 at 19:56 UTC | |
by kwaping (Priest) on Oct 02, 2006 at 20:57 UTC | |
by CountZero (Bishop) on Oct 02, 2006 at 22:07 UTC |