Wilson, Douglas on 10 Oct 2003 16:34:32 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

RE: Perl source filter question



> From: Mike Cramer [mailto:cramer@webkist.com]

> I'm looking for something along the lines of a perl source filter that

> will take a source file -- cgi script, perl module, whatever -- and 
> without actually *running* the program, will list all of the functions

> called. A script like this:

> ####
> use CGI;

> my $q = new CGI;
> print $q->header("text/plain");

That would be tough. You and I know that perl will call
CGI::Header, but perl doesn't know its going to call
CGI::Header until runtime since that's when
methods are resolved.

-Doug
-
**Majordomo list services provided by PANIX <URL:http://www.panix.com>**
**To Unsubscribe, send "unsubscribe phl" to majordomo@lists.pm.org**