[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl-AnyPerl] This Seemed So Simple...



At 09:57 +0200 7/7/1999, Christian Brechb¸hler wrote:
>Not knowing what is in the other three scripts, it is conceivable that
>they mess with each other's namspace, i.e. use variables of the same
>names, interfering in undesired ways.
>
>To replicate running three independent scripts (as from the command
>line), you can run them as separate processes using 'system'.  This
>might be less efficient, but should do the trick.
>
>I'd suggest checking the return values.  If you use 'system', look it
>up in the Camel, because the status return is somewhat unusual.  It's
>on page 230 in my book (2nd Edition).
>
>Hoping this helps

There probably was some kind of namespace thing as I am prone to use 
the same variable names from one program to another, but didn't 
realize that they could persist when you were doing this kind of 
external call stuff. Anyway, system seems to work fine and I 
appreciate your help.


Richard Gordon
--------------------
Gordon Consulting & Design
Database Design/Scripting Languages
mailto:richard@richardgordon.net
http://www.richardgordon.net
770.971.6887 (voice)
770.216.1829 (fax)

==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-anyperl-request@macperl.org