470,580 Members | 2,176 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,580 developers. It's quick & easy.

PL/Perl: can you tell that your code is inside a function?

We're trying to eliminate possible problems with our PL/Perl code base.
Some of the functions use locally authored modules that make database
connections; thus, we have PL/Perl code running in a database backend
that is itself making a connection to another backend. The only problem
we seem to be having is with some change occuring to a signal handler
(SIGALRM to be specific).

What I'd like to be able to do is to change the low-level module to do
something like ...

unless (running_inside_pl_perl) {
local($SIG{ALRM});
...
}

How can I test to see if the code is indeed running within PL/Perl?

--
Jeff Boes vox 269.226.9550 ext 24
Database Engineer fax 269.349.9076
Nexcerpt, Inc. http://www.nexcerpt.com
...Nexcerpt... Extend your Expertise

Jul 19 '05 #1
0 1283

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Xah Lee | last post: by
31 posts views Thread by surfunbear | last post: by
20 posts views Thread by Xah Lee | last post: by
reply views Thread by Kirt Loki Dankmyer | last post: by
2 posts views Thread by shruti | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.