nadim wrote:
Can you tell me why the Inlined code can't be evaluated in the PBS::Runs::xxxx package? Where is it evaluated right now?It can and is. It's evaluated in the current (the package that calls "use Inline ...") package.
In your case I believe this is PBS::Runs::PBS_1.
The problem you are having is that if you don't know in advance in which package
your code will be, how can you access it?
Remember that Perl packages do not imply a hierarchy, that's why if you access
"PBS::Runs::PBS_1::Pod_alu" as "Pod_alu" (from PBS::Runs::PBS_1) it doesn't work.
IIRC package names must always be absolute.
Patrick
-- ===================== Patrick LeBoutillier Laval, Quebec, Canada