in reply to Searching for a specific pattern.
If you're looking for EXACTLY "LX", then just use 'eq':
if( $type eq 'LX' ) {
In Section
Seekers of Perl Wisdom
in reply to Searching for a specific pattern.
if( $type eq 'LX' ) {