in reply to passing a variable value to Unix command

foreach my $k (@a) { my $x = `find . -name $k.* -print`; ... do something with $x ...; }