Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: unlink($ful) does not delete

by Rudif (Hermit)
on Dec 07, 2007 at 20:12 UTC ( #655736=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://655736]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2023-02-04 22:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (31 votes). Check out past polls.

    Notices?