http://qs1969.pair.com?node_id=655736


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.

Rudif

Replies are listed 'Best First'.
Re^4: unlink($ful) does not delete
by daithimcc (Novice) on Dec 07, 2007 at 21:42 UTC
    Thanks for the direction. That's the next thing I needed to find out about.