![]() |
|
Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Re: Verifying data changeby Arien (Pilgrim) |
on Aug 16, 2002 at 03:17 UTC ( [id://190583]=note: print w/replies, xml ) | Need Help?? |
I think he's asking how he can detect the "whole filename changed", although he almost provided the answer: use a pattern describing what you're expecting to see and match the filename against that. If the filename doens't match, it changed beyond your expectations ("the whole filename changed"). Two nits: you don't need the capturing (to do this, at least) and you'd want to anchor the pattern to the beginning and end of the filename. — Arien
In Section
Seekers of Perl Wisdom
|
|