Overlays question

Hi All,

I have a question about using overlays to override code in the base
distribution. If I want to replace a specific method in a class that’s
defined in lib/RT/xyz.pm, does my local/lib/RT/xyz.pm file need to be a
copy of the original with the new code inserted (and all of the unchanged
code intact), or can it contain just the modified method
definition? Obviously I’m not real clear on how overlays work and the book
doesn’t touch on this very much.

Thanks,
Gene

Gene LeDuc, GSEC
Security Analyst
San Diego State University

Hi All,

I have a question about using overlays to override code in the base
distribution. If I want to replace a specific method in a class
that’s defined in lib/RT/xyz.pm, does my local/lib/RT/xyz.pm file
need to be a copy of the original with the new code inserted (and
all of the unchanged code intact), or can it contain just the
modified method definition? Obviously I’m not real clear on how
overlays work and the book doesn’t touch on this very much.

It should include JUST the modified method definition. Don’t ever
copy and paste extra code.

Jesse

PGP.sig (186 Bytes)