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

Re^2: search for a pattern in file without opening the file

by reasonablekeith (Deacon)
on Jan 29, 2007 at 10:51 UTC ( [id://597061]=note: print w/replies, xml ) Need Help??


in reply to Re: search for a pattern in file without opening the file
in thread search for a pattern in file without opening the file

Shame on you tinita, -- for such bad advice...

He'd be much better of using Quantum::Schrodingers_Cat. The major plus side of using this module is that you can just choose the result you want. He may not even need to run the script, which has obvious efficiency advantages. :p

---
my name's not Keith, and I'm not reasonable.
  • Comment on Re^2: search for a pattern in file without opening the file

Replies are listed 'Best First'.
Re^3: search for a pattern in file without opening the file
by rinceWind (Monsignor) on Jan 29, 2007 at 13:04 UTC

    Hmmm, Quantum::Schrodingers_Cat sounds like a Damian module. This computer is alive or dead depending on the XOR of this entire file - a new variant to the halting problem.

    How about another application: "This file/email attachment contains a virus" without opening it.

    --

    Oh Lord, won’t you burn me a Knoppix CD ?
    My friends all rate Windows, I must disagree.
    Your powers of persuasion will set them all free,
    So oh Lord, won’t you burn me a Knoppix CD ?
    (Missquoting Janis Joplin)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-25 08:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found