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

Re: How to start automation to open the last three logfiles to get build information

by toolic (Bishop)
on Jul 10, 2007 at 21:20 UTC ( [id://625930]=note: print w/replies, xml ) Need Help??


in reply to How to start automation to open the last three logfiles to get build information

Allow me to pour some ideas...

Use perltidy to neaten up your code a little.

Use:

use warnings; use strict;

Is it really necessary to cd to any of these directories? If you just need to read in specific files, you can use the full path to the file.

Are the "last 3 files" based on a numeric string in the filename, or are they based on the file's timestamp?

You only need $arg=$ARGV[0]; once.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2024-04-24 06:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found