I'm still a beginner but how about this? If @ARGV is resetting somewhere in the code include the second line. #! perl -w @ARGV = @location # <-- optional do_droplet() do_droplet() sub do_droplet { [...] } --nick ===== Want to unsubscribe from this list? ===== Send mail with body "unsubscribe" to macperl-request@macperl.org