Go Back   Velocity Reviews > Newsgroups > PERL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

PERL - force recursive source filtering

 
Thread Tools Search this Thread
Old 12-24-2008, 06:21 PM   #1
Default force recursive source filtering


I want to apply a source filter, via say Filter::Simple, not just to a
particular source file, but to all of the source files that it may do, require,
or use. E.g., if I've built a source filter in mySourceFilter, then in

use mySourceFilter;
use custommodule;
print ...

the code that resides in the above source file will be filtered, but the code
that it reads in from custommodule.pm will not. This is what
http://perldoc.perl.org/perlfilter.html says, and my observation confirms it.

What I want is to modify the do, require, and use statements to automatically
apply mySourceFilter to every file they load. But I don't know how.

Anyone done this? Suggestions?
Thanks,
Andrew.

--
To reply by email, change "deadspam.com" to "alumni.utexas.net"


Andrew Schulman
  Reply With Quote
Old 01-01-2009, 12:02 PM   #2
Andrew Schulman
 
Posts: n/a
Default Re: force recursive source filtering
> The newsgroup comp.lang.perl is defunct. Try comp.lang.perl.misc.

Thank you.
Andrew.

--
To reply by email, change "deadspam.com" to "alumni.utexas.net"


Andrew Schulman
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cisco 1841 router - can't source ping inside to internet yg1985 Hardware 0 01-27-2009 08:18 AM
Re: Brute Force Cracking Failed, No Vulnerable Blocks, DVD Decrypter Martino DVD Video 8 02-01-2006 10:09 PM
REQ SOURCE for: "Glen and Randa" (circa 1971) Matthew Montchalin DVD Video 2 01-28-2005 05:56 AM
The Non-Arguable Case Against the Bush Administration 1 Sara DVD Video 65 11-07-2004 02:42 AM
Insiders Main Source of Movie Piracy. Scot Gardner DVD Video 1 09-16-2003 10:38 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46