If your $X and $Y values are really what you gave us, that should work. This is a shot in the dark, but is it possible your @dependantFiles values contain newlines? (Did you read them from a file?) I would check to see if the variables contain exactly what you think they do. Try print "Y: '$Y'\nX: '$X'\n"; for instance.
-sauoq "My two cents aren't worth a dime.";
In reply to Re: regex expression help
by sauoq
in thread regex expression help
by JFarr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |