Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re (tilly) 1: Limit to Line Length?

by tilly (Archbishop)
on Jan 26, 2001 at 21:35 UTC ( #54578=note: print w/replies, xml ) Need Help??

in reply to Limit to Line Length?

There should be no limit to the length of a line.

OTOH there are a lot of subtle ways that file locking can go wrong, and most of the time when I see people offering advice on how to do it they get it wrong. Therefore, your confidence notwithstanding, I would suspect the locking routines.

For a discussion of what can go wrong, see RE: RE: Flock Subroutine or Don't use unflock (flock 8). Ever.. See Simple Locking for a reasonably good example of how to do it.

Incidentally if you can, I would suggest moving this to a database...

Replies are listed 'Best First'.
Kozz Re: Re (tilly) 1: Limit to Line Length?
by Kozz (Friar) on Jan 26, 2001 at 22:22 UTC
    Incidentally if you can, I would suggest moving this to a database...
    Yep. That's very good advice. At the time in which I put the scripts together, I had no knowledge of databases. Now that I've got some books, read up, and have had moderate experience with them, I'm prepared to move it to a true database. I need only to pray for a visit from the magic free-time fairy, and I can convert things over. ;) Thanks again for your advice.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://54578]
and the voices are still...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (8)
As of 2018-04-19 20:02 GMT
Find Nodes?
    Voting Booth?