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

Mark Gibson interchange-users@icdevgroup.org
Fri Nov 22 07:33:00 2002


Hi,
	I need to use the ceil() function from POSIX package, eg:

[perl]
	use POSIX;
	my $realvalue = ....
	return ceil($realvalue);
[/perl]

but Safe.pm won't let me.
I've tried setting SafeUntrap, but that doesn't work either, eg:

SafeUntrap ceil;
or
SafeUntrap POSIX::ceil; 
-- i'm new to perl - not sure how to specify function namespace, is this 
correct?

Can anyone help?

Cheers
-- 
Mark Gibson <gibsonm@cromwell-tools.co.uk>
Web Developer
Cromwell Group Holdings Ltd