Re: Calling "use Inline" more than once?
[email protected] Tue, 29 Apr 2014 00:09:15 +1000
| Newsgroups | perl.inline |
|---|---|
| Message-ID | <E326B5CCE62F493FAD041B6921439DBE@OwnerPC311012> |
From: Bill Moseley Sent: Saturday, April 26, 2014 11:45 AM To: [email protected] 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