In that case you would probably want to use eval to run test perl code that would run correctly if your library's function was loaded, otherwise it would bomb. Eval will trap the bomb, and allow you to decide wether or not to lode the library. However, I'd follow
In reply to Use Eval
by gryng
in thread Chain
by jettero