If you want to call another script, just "require" it. You can set up @ARGV yourself any time you like any place in any script. It's just an array, after all. So if you populate @ARGV with filenames before "require"ing your other script, and that script does A based on nothing in @ARGV, and B based on something in @ARGV, it should work out. Arved ===== Want to unsubscribe from this list? ===== Send mail with body "unsubscribe" to macperl-request@macperl.org