At 10:21 AM 7/14/02 -0400, chris wrote:
>Sounds like I am unable to reference the sub unless I make the
>necessary changes in the package. The use of %EXPORT_TAGS and
>@EXPORT_OK are considerations in the package's design. Am I
>understanding this correctly?

Sounds like a design problem with the package.  Is it a private 
package, or something from CPAN?

Anyway, there's always The Kludge: read the package file into a 
variable.  Use a regex to isolate the subroutine you want 
(extract_codeblock() in Text::Balanced will come in handy).  Eval 
it.  Put a gun under your pillow to defend against the next person who 
maintains this program.


--
Peter Scott
Pacific Systems Design Technologies
http://www.perldebugged.com/


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to