RTx::Shredder Questions

Carl Gibbons wrote:

When I try using the rtx-shredder script it complains:

Constant name ‘HASH(0x8141fb4)’ has invalid characters at
/opt/rt3/lcoal/lib/RTx/Shredder/Constants.pm line 37
BEGIN failed–compilation aborted at
/opt/rt3/local/lib/RTx/Shredder/Constants.pm line 40.

I looked back through rt-users list archives, but couldn’t find
anybody else having the same issue with RTx::Shredder. Maybe you know
what might be wrong?

Ruslan U. Zakirov wrote:

I think you use perl 5.6.x that is not supported by RT 3.0 and higher.
So I didn’t test it under 5.6.x at all…

…You’re wrong, Ruslan! I’m using perl 5.8.0.
“perl -v” outputs: “This is perl, v5.8.0…”
“which perl” outputs: “/usr/local/bin/perl.” That means…

…You’re right, Ruslan! (/usr/bin/perl is version 5.6.1.)

When I used “perl -MCPAN -e ‘install RTx::Shredder’”, I expected I would
get stuff in /opt/rt3/local/sbin/* that would use /usr/local/bin/perl
instead of /usr/bin/perl. I manually edited the shebang (first) lines
in {rtx-shredder, rtx-shredder.in, rtx-validator, rtx-validtator.in} to
use /usr/local/bin/perl, and that seems to fix them. Thanks for your
help! - Carl