Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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

by reasonablekeith (Deacon)
on Jan 29, 2007 at 10:51 UTC ( #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
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
Node Status?
node history
Node Type: note [id://597061]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2014-07-25 01:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (167 votes), past polls