in reply to Avoid a single value in the url
Please tell how to modify the above regex.
No thanks, see perlrequick if you're interested
if( isBlahGallery( $url ) ){ die "failed it"; } sub isBlahGallery { $_[0] =~ m{\.com/gallery}ism; }
|
---|
In Section
Seekers of Perl Wisdom