When I take the patter in a varibale to match the file it does not take any effect at all.$source = 'VM'; $COB = '20080605'; if ( /^$source.*$COB/ ) { .... do something ... }
In reply to Passing regex inside via a variavble by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |