[ic] How can I use POSIX functions in [perl] tags?

Bill Carr interchange-users@icdevgroup.org
Fri Nov 22 09:08:01 2002


On Fri, 2002-11-22 at 08:46, Mark Gibson wrote:
> On Friday 22 Nov 2002 1:02 pm, Jonathan Clark wrote:
> > > 	I need to use the ceil() function from POSIX package, eg:
> > >
> > > [perl]
> > > 	use POSIX;
> > > 	my $realvalue = ....
> > > 	return ceil($realvalue);
> > > [/perl]
> >
> > Why not write your perl into a global usertag?
> 
> Thats a bit overkill just to use one not-really-unsafe function.
> 
> Alternatively, is there a way of turning off Safe.pm completely,
> as I am the administrator of Interchange and the only catalogue
> developer - or would this open up security holes that could be
> exploited?
[perl global=1]

[/perl]

http://www.icdevgroup.org/cgi-bin/ic/docfly.html?mv_arg=icconfig04%2e04

-- 
Bill Carr
Worldwide Impact
bill@worldwideimpact.com
413-253-6700