On Thu, 21 Apr 2005 12:52:32 -0700, Joshua D. Drake wrote
> >
> > This leaves me with two questions.
> > 1) Why can I not use "use strict;" or "use warnings;" as they
> > are apparently good perl programming practice.
> [snip]
> > Kind Regards,
> > Keith
>
> Actually it is excellent practice so don't feel bad. The reason you
> can't use them is that in order to support them in plPerl you have
> to access the module. The module itself is a file on the filesystem.
>
> You can not open files on the filesystem via a plperl function
> unless you install it as untrusted.
>
> Try installing plperlU and then running your function.
[snip]
> Sincerely,
>
> Joshua D. Drake
Well, I am blown away by how this stuff works. After a createlang command I
put the two use commands back into my function and changed the language. Now
all I have to figure out is the RETURN problem.
Another question: Is there an issue with using the untrusted perl language?
If the code is tested and working is there any real reason to continue to have
"use strict;" and "use warnings;" in the function?
Kind Regards,
Keith