>>>>> "JB" == Juergen Boemmels <[EMAIL PROTECTED]> writes:

  >> $ find . -name '*.c' | xargs grep hash_get

  JB> The disadvantage of this finds is that you get many generated
  JB> files like core_ops_cg.c or classes/perlhash.c. To solve this
  JB> problem, I have written some little helper script:

  JB> manigrep.pl

  JB> It just takes the MANIFEST and walks all files in it searching for
  JB> a match. It can match fixed strings or /regular expressions/ and
  JB> in contrast to the normal grep it also adds the line numbers.

  JB> Do you think this tool should enter tools/dev ?  bö

i wrote something that does the same thing but under Module::Build. but
as parrot is still using Makefile.PL it won't be directly useful. i also
wrote my own manifest slurp support since the one supplied with perl (i
forget which module has it) reads the manifest into a hash and loses any
file ordering. i use this manifest search to run my tests in the order
found in the manifest. this makes it easier than naming tests with
numeric prefixes, etc.

is there any thought about moving over to module::build? it is going
into perl5 core in 5.10 i believe. and there is a makefile.pl
compatibilty call-through mode as well.

uri

-- 
Uri Guttman  ------  [EMAIL PROTECTED]  -------- http://www.stemsystems.com
--Perl Consulting, Stem Development, Systems Architecture, Design and Coding-
Search or Offer Perl Jobs  ----------------------------  http://jobs.perl.org

Reply via email to