Jarkko Hietaniemi wrote:

> De ja vu.  Are you familiar with Cons?
> 
> http://search.cpan.org/doc/KNIGHT/cons-2.1.1/README
> 

Interesting. I was not familiar with this package. I just needed a good
way to know whether a snippet of source code had been changed. Since the
snippet is probably just an embedded string, file time stamps wouldn't
do it. MD5 seemed to fit the bill nicely.

I'm not really doing anything very complicated (like Cons). I just need
to check one file (with no dependencies) and build on modify. 

There may be issues of recompiling when dependencies change. For now
you'd have to do a "perl -MInline=FORCE your-script" to force a
recompile (in script context). (Or reinstall, if the Inline code was
part of an extension module)

I'll take a closer look at Cons, to see if it could add benefit to
Inline. Thanks for the tip.

Brian
[EMAIL PROTECTED]

Reply via email to