Load script in script
-
situation
I have a full script that has been defined by modules and def's
Now, I only want it to be loaded when certain parametres are ok.
The 2 solutions I came up with is this:
-
Make 2 rb's: rb1 who checks the parametres, if they are ok, then load the full script from rb2.
Problem is rb2 contains data i need in rb1. I can not put that data in rb1 (since it is version information I want to keep in rb2) -
keep all in 1 rb (put the complete script rb2 in a module/def)
That does not work: not possible to put the modules and defs of rb2 in a module
Are there any other ways to solve this?
-
Advertisement