[ic] Require in Global UserTag

Stefan Hornburg Racke interchange-users@interchange.redhat.com
Mon Sep 17 08:42:01 2001


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)