Tushar Gokhale wrote:

> I'm reading another perl script into array and want to commands from the the
> array as if normal perl commands. How do I do it?

The truly helpful answer would be:  "Don't do this!".  OTOH, if you want to try
it out for yourself, I would suggest wrapping in in an eval block.  This will
basically run the script for you.  It will not do anything to compensate for
lack of program structure, though.

Why do you want to run one script from another?  We may be able to find better
ways for you to achieve your purpose.

Joseph


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to