Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: How to get an exact match of files

by merlyn (Sage)
on Mar 24, 2011 at 05:18 UTC ( #895182=note: print w/ replies, xml ) Need Help??

in reply to How to get an exact match of files

I think you're looking for "eq", as in $date eq $file.

However, if you insist using a regex, please reveal the actual context, as it is probably not freeform Perl code then.

-- Randal L. Schwartz, Perl hacker

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.

Comment on Re: How to get an exact match of files
Download Code
Replies are listed 'Best First'.
Re^2: How to get an exact match of files
by Anonymous Monk on Mar 24, 2011 at 05:27 UTC



    For the above data if I use $data eq $file,will they be equal?is it not case-sensitive?how to make the eq case-insensitive?

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (12)
As of 2015-11-30 21:48 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (783 votes), past polls