in reply to Re^2: unlink($ful) does not delete
in thread unlink($ful) does not delete
As a matter of interest what is the significance of this construction:
( $fnmi =~ /^someword$/ )?
( $fnmi =~ /^someword$/ ) is a pattern match, which happens to be equivalent to ( $fnmi eq 'someword' ).
To understand why so, start reading about regular expressions and matching in perlrequick, and read more in perlretut and perlre.
In Section
Seekers of Perl Wisdom