"be consistent" | |
PerlMonks |
Re^3: unlink($ful) does not deleteby Rudif (Hermit) |
on Dec 07, 2007 at 20:12 UTC ( [id://655736]=note: print w/replies, xml ) | Need Help?? |
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
|
|