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

Re: Printout Program creation

by Corion (Patriarch)
on Dec 19, 2015 at 16:56 UTC ( [id://1150754]=note: print w/replies, xml ) Need Help??


in reply to Printout Program creation

Please do not post your homework questions here.

Creating a program to go through log files is very, very easy. What parts have you written and where exactly do you have a problem?

A good approach to any unknown problem is to first solve it a few times as a human. Then take a step back and find out what steps you took as a human to solve the problem. The last step is then to encode these steps in a program.

For going through a log file, for example, I would read it line by line and mark or write down all entries of interest.

See perlintro, and The Diamond Operator and perlsyn for if statements.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2024-04-25 20:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found