Interchange Developer Resource


[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date ][Interchange by thread ]

[ic] Require in Global UserTag




Has anyone an idea why this didn't work:

UserTag chart Routine <<EOF
sub {
	eval {
		require GIFgraph::bars;
	};
	if ($@) {
		::logError("Cannot generate chart, GIFgraph module not installed: $@");
		return;
	}
}	
EOF

snowflake.linuxia.de EX9E4JYr:linuxia.de - [17/September/2001:14:38:32 +0200] roll /cgi-bin/ic/roll/entrance/stats Cannot generate chart, GIFgraph module not installed: require trapped by operation mask at /usr/lib/perl5/GIFgraph/bars.pm line 14.
> 

This is a global usertag, so it resembles the get_url UserTag.
I suppose that I _should_ work, sigh.

Ciao
        Racke

-- 
Racke happily hacks Interchange and maintains Debian packages like Courier.

For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users


Search for: Match: Format: Sort by: