Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: how to grep from a log file

by haukex (Bishop)
on Jul 07, 2021 at 10:52 UTC ( #11134753=note: print w/replies, xml ) Need Help??


in reply to how to grep from a log file

You can refer to your own post grep all matches for the correct syntax (as well as the documentation, of course). Also, you'll need to actually read the lines from the file, as you appear to be doing in that post with your utils::getFileContents() function. See also "Files and I/O" in perlintro.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (1)
As of 2021-09-27 22:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?