[rt-devel] Installing problems 1.3.30
Jesse
jesse at fsck.com
Fri Jan 5 13:36:52 EST 2001
Ack, I'm sorry about that. Don't worry about commenting out that code. it's
dev code that isn't in use by _anything_ yet. I wonder why my perl passed
it as ok.... What rev of perl are you running?
-j
On Fri, Jan 05, 2001 at 06:36:51PM +0100, robert rotman wrote:
>
> Hello,
>
> When i try to start apache i get:
>
> syntax error at /usr/local/rt2/lib/RT/Tickets.pm line 1284, near
> "$method;"
> BEGIN failed--compilation aborted at /usr/local/rt2/lib/RT/Ticket.pm line
> 1344.
> ....
>
> when i commend-out (the --->) :
>
> /^(.*?)date(.*)$/i && do {
> my $o = $1;
> my $m = $2;
> my ($obj);
> #TODO: optimize
> $obj = $Ticket->DueObj if $o =~ /due/i;
> $obj = $Ticket->CreatedObj if $o =~ /created/i;
> $obj = $Ticket->StartsObj if $o =~ /starts/i;
> $obj = $Ticket->StartedObj if $o =~ /started/i;
> $obj = $Ticket->ToldObj if $o =~ /told/i;
> $obj = $Ticket->LastUpdatedObj if $o =~ /lastu/i;
>
> $method = 'ISO' if $m =~ /iso/i;
>
> $method = 'AsString' if $m =~ /asstring/i;
> $method = 'AgeAsString' if $m =~ /age/i;
> last SWITCH;
> ---> # $obj->$method
>
> };
>
> apache starts but the rt-mailgate returns an error.
>
>
>
> any suggestions?
>
>
> robert
>
>
> _______________________________________________
> Rt-devel mailing list
> Rt-devel at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-devel
>
--
jesse reed vincent -- root at eruditorum.org -- jesse at fsck.com
70EBAC90: 2A07 FC22 7DB4 42C1 9D71 0108 41A3 3FB3 70EB AC90
"That package looks like what I wanted, but the site was down today,
so I decided to reimplement it in Perl."
-me
More information about the Rt-devel
mailing list