in reply to Re: using a subroutine
in thread using a subroutine

This worked beautifully! Now all I need is to understand the map command better. I haven't seen that before. Thanks for the link and the advice!

I do have a question though. When I first set this up I had a comma between (/home/john /lib) in the first line of code:
my ($user, $lib) = qw(/home/john /lib);

which caused it to not work. Why does the comma have this affect on this or any other script?

John