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

Jonathan Clark interchange-users@icdevgroup.org
Fri Nov 22 08:07:01 2002


> 	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?

Why not write your perl into a global usertag?

Jonathan
Webmaint.