From: Bill Moseley
Sent: Saturday, April 26, 2014 11:45 AM
To: inline@perl.org
Subject: Calling "use Inline" more than once?

Trying to work with some old code and noticed that "use Inline" is called multiple times in the same package.

"use" is compile time, so I'm wondering if it makes sense to call "use Inline" multiple times in the same package -- or really in the same app.

This is using Inline::Java, and most of the "use Inline" calls are the same with maybe only a change in what is passed to STUDY.

Is there any reason to call "use Inline" multiple times?

Hi Bill,

There *can* be valid reasons for the multiple calls - see Inline.pod for some hints.

Presumably the specific calls you're looking at have some effect on the way that the program runs - otherwise you could just remove them.

Cheers,
Rob

Reply via email to