[rt-users] rtx-validator compile error
Ruslan U. Zakirov
Ruslan.Zakirov at acronis.com
Fri Oct 8 00:38:22 EDT 2004
I've fixed it in upcoming 0.02(working on it right now), but this script
is not well tested yet.
Adolfo Santiago wrote:
> I'm attempting to run the script "rtx-validator" from the RTx::Shredder
> package, but I'm getting a compile error. Here it is:
>
> =====
>
> Bareword "INVALID" not allowed while "strict subs" in use at ./rtx-validator
> line 91.
> Execution of ./rtx-validator aborted due to compilation errors.
>
> =====
>
> Line 91 is:
>
> foreach my $record( keys %{ $shredder->{'Cache'} } ) {
> next unless( $record->{'State'} & INVALID );
> <<<<----------------
> warn $record->{'Object'}->_AsString ."is invalid\n";
> warn "\t". ref($record->{'Description'}) ?
> join( "\n\t", $record->{'Description'} ) :
> $record->{'Description'}
> ."\n";
> }
>
> rtx-shredder works fine. I'm trying to run "rtx-validator -o Ticket".
>
> Any ideas?
>
> Thanks!
>
>
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Be sure to check out the RT wiki at http://wiki.bestpractical.com
More information about the rt-users
mailing list