Hi,
I have an embperl webpage and I am executing another piece of code into
it like this:
[- $new_code = Execute ({'object' => 'code.pm',syntax =>
'Perl'});
$result = $new_code->subroutine -]
Inside code.pm:
Sub subroutine {
Use morecode;
&subroutine_inmorecode;
}
1;
Inside morecode:
Sub subroutine_inmorecode {
}
Sub subroutine_inmorecode1 {
}
1;
At no point do I declare any packages, etc.
I use the same kind of code elsewhere and it works fine:
I execute module as Perl, call a sub routine in the module using
$code->subroutine, and that subroutine then uses the exact same module,
("morecode") and it can call it fine..
Any ideas?
Justin
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]