[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] How can I use POSIX functions in [perl] tags?
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?
--
Mark Gibson <gibsonm@cromwell-tools.co.uk>
Web Developer
Cromwell Group Holdings Ltd