What are your thoughts on external files?
I see there are import and importModule functions. I haven't studied these yet.
When I mentioned an include function, I was thinking a function that would scan a .pl file like car.pl and pull in the Perl module code and include it into the new .pl file being developed. Something like include("robot.pl", "ALL") or include("robot.pl", "arm").
I guess you would then do a series of makeModule() and runModule() calls. (Easy for me to say!)
James
What are your thoughts on external files?
I see there are import and importModule functions. I haven't studied these yet.
When I mentioned an include function, I was thinking a function that would scan a .pl file like car.pl and pull in the Perl module code and include it into the new .pl file being developed. Something like include("robot.pl", "ALL") or include("robot.pl", "arm").
I guess you would then do a series of makeModule() and runModule() calls. (Easy for me to say!)
James